Nathan Knuth | 84dfd2e | 2016-09-16 15:06:34 -0700 | [diff] [blame] | 1 | # |
Zsolt Haraszti | 3eb27a5 | 2017-01-03 21:56:48 -0800 | [diff] [blame] | 2 | # Copyright 2017 the original author or authors. |
Nathan Knuth | 84dfd2e | 2016-09-16 15:06:34 -0700 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | |
Nathan Knuth | edc88da | 2016-09-17 00:28:05 -0700 | [diff] [blame] | 17 | ifeq ($(VOLTHA_BASE)_set,_set) |
| 18 | $(error If your getting this error, please type ". ./env.sh" at the top directory) |
| 19 | endif |
Nathan Knuth | 84dfd2e | 2016-09-16 15:06:34 -0700 | [diff] [blame] | 20 | |
| 21 | include $(VOLTHA_BASE)/setup.mk |
| 22 | |
| 23 | PYTHONFILES:=$(wildcard *.py) |
| 24 | |
Zsolt Haraszti | 3eb27a5 | 2017-01-03 21:56:48 -0800 | [diff] [blame] | 25 | flake8: |
Nathan Knuth | 107de74 | 2016-09-16 15:50:04 -0700 | [diff] [blame] | 26 | $(FLAKE8) $(PYTHONFILES) |