1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- [flake8]
- ignore =
- E203, # whitespace before ':' (Black)
- W503, # line break before binary operator (Black)
- per-file-ignores =
- # Quick reference for some of the most common errors
- # E501 line too long
- # E722 do not use bare 'except'
- # W605 invalid escape sequence
- # F401 imported but unused
- # F821 undefined name 'unicode'
- # F841 local variable assigned to but never used
- lib/init/grass.py: E501, E722, F821, F841, W605
- utils/mkrest.py: E501, W605
- utils/gitlog2changelog.py: E722, E712, W605
- utils/g.html2man/ggroff.py: W605
- man/build_check_rest.py: F403, F405
- man/build_full_index_rest.py: F403, F405
- man/parser_standard_options.py: F403, F405
- man/build_class.py: F403, F405
- man/build_class_rest.py: F403, F405
- man/build_check.py: F403, F405
- man/build_full_index.py: F403, F405
- man/build_index.py: F403, F405
- man/build_index_rest.py: F403, F405
- man/build_keywords.py: F403, F405, E722
- man/build_topics.py: F403, F405, E722
- man/build_html.py: E501
- man/build_rest.py: E501
- imagery/i.atcorr/create_iwave.py: E501, F632, F821, W293
- doc/python/raster_example_ctypes.py: F403, F405
- doc/python/vector_example_ctypes.py: F403, F405
- doc/python/m.distance.py: F403, F405, E501
- doc/gui/wxpython/example/dialogs.py: F401
- doc/gui/wxpython/example/g.gui.example.py: E501
- locale/grass_po_stats.py: E122, E128, E231, E401, E501, E722, E741
- gui/scripts/d.rast3d.py: E501
- gui/scripts/d.wms.py: E501
- max-line-length = 88
- exclude =
- .git,
- __pycache__,
- .env,
- .venv,
- env,
- venv,
- ENV,
- env.bak,
- venv.bak,
- # Build directories
- bin.*,
- dist.*,
- OBJ.*,
- # Test output directory
- testreport,
- # Have their own configs for now
- python/grass,
- gui/wxpython,
- scripts/*/*.py,
- temporal/*/*.py,
- # No tests checked for now
- testsuite,
- builtins =
- _
|