Exclude docs/conf.py from linting.
Running `make lint` after initializing a fresh project complains about errors in `docs/conf.py`. Which is kinda awkward for the user as he didn't write any code yet and already has errors. As this file is autogenerated I think it is best to exclude it from linting rather than fixing the errors.
This commit is contained in:
parent
2059394d5c
commit
1a2d598725
|
@ -20,7 +20,7 @@ clean:
|
||||||
find . -name "*.pyc" -exec rm {} \;
|
find . -name "*.pyc" -exec rm {} \;
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
flake8 --exclude=lib/,bin/ .
|
flake8 --exclude=lib/,bin/,docs/conf.py .
|
||||||
|
|
||||||
sync_data_to_s3:
|
sync_data_to_s3:
|
||||||
aws s3 sync data/ s3://$(BUCKET)/data/
|
aws s3 sync data/ s3://$(BUCKET)/data/
|
||||||
|
|
Loading…
Reference in New Issue