forked from LineaLabs/lineapy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
17 lines (13 loc) · 816 Bytes
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[flake8]
extend-exclude = __snapshots__,examples,sliced_housing_dag*.py,./lineapy/editors/ipython.py,.ipython,tutorials,slices,sources,envs,*housing.py,tests/integration/sources,tests/integration/slices,outputs,env
per-file-ignores =
# ignore get_ipython missing
lineapy/ipython.py: F821
# E203 is for compat with black
# (https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#configuration)
# E501 is line length, which is already covered by black, and was raising
# errors on string/comment lines that were too long
# W291 is for trailing whitespace, which is also already covered by black
# besides in this case we want to ignore trailing whitespace in docstrings
# F841 is raised on unused local variables, which sometimes we don't mind
extend-ignore = E203,E501,W291,F841