blob: 6e0223f86a0ed87af0688b8cd4ef63e0362d981b [file] [log] [blame]
Nathan Knuth84dfd2e2016-09-16 15:06:34 -07001#
Zsolt Haraszti3eb27a52017-01-03 21:56:48 -08002# Copyright 2017 the original author or authors.
Nathan Knuth84dfd2e2016-09-16 15:06:34 -07003#
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 Knuthedc88da2016-09-17 00:28:05 -070017ifeq ($(VOLTHA_BASE)_set,_set)
18$(error If your getting this error, please type ". ./env.sh" at the top directory)
19endif
Nathan Knuth84dfd2e2016-09-16 15:06:34 -070020
21include $(VOLTHA_BASE)/setup.mk
22
23PYTHONFILES:=$(wildcard *.py)
24
Zsolt Haraszti3eb27a52017-01-03 21:56:48 -080025flake8:
Nathan Knuth107de742016-09-16 15:50:04 -070026 $(FLAKE8) $(PYTHONFILES)