Skip to content

Commit

Permalink
Add pytest and flake8 configuration
Browse files Browse the repository at this point in the history
Explicitly ignore W503.

Some files have E266 ignored explicitly because of doxygen markup.
  • Loading branch information
timj committed Aug 13, 2017
1 parent 7bee51e commit f5c2ce4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[flake8]
max-line-length = 110
ignore = E133, E226, E228, N802, N803, W503
exclude = __init__.py, tests/testLib.py

[tool:pytest]
addopts = --flake8
flake8-ignore = E133 E226 E228 N802 N803 W503
# These will not be needed when we use numpydoc
baseMeasurement.py E266
forcedMeasurement.py E266
forcedPhotCcd.py E266
forcedPhotCoadd.py E266
forcedPhotImage.py E266
noiseReplacer.py E266
sfm.py E266

0 comments on commit f5c2ce4

Please sign in to comment.