swh:1:snp:72a4c465b82ec18a5d1f703821d91720268b476f
Tip revision: 9cab8cfa4033d3f47a36c7bb816b2c9fae5cfdc6 authored by Philipp A on 07 June 2023, 13:46:06 UTC
Convert issue report templates to forms (#2503)
Convert issue report templates to forms (#2503)
Tip revision: 9cab8cf
.flake8
# Can't yet be moved to the pyproject.toml due to https://gitlab.com/pycqa/flake8/-/issues/428#note_251982786
[flake8]
max-line-length = 88
ignore =
# module imported but unused -> required for Scanpys API
F401,
# line break before a binary operator -> black does not adhere to PEP8
W503,
# line break occured after a binary operator -> black does not adhere to PEP8
W504,
# line too long -> we accept long comment lines; black gets rid of long code lines
E501,
# whitespace before : -> black does not adhere to PEP8
E203,
# missing whitespace after ,', ';', or ':' -> black does not adhere to PEP8
E231,
# module level import not at top of file -> required to circumvent circular imports for Scanpys API
E402,
# continuation line over-indented for hanging indent -> black does not adhere to PEP8
E126,
# E266 too many leading '#' for block comment -> Scanpy allows them for comments into sections
E262,
# inline comment should start with '# ' -> Scanpy allows them for specific explanations
E266,
# Do not assign a lambda expression, use a def -> Scanpy allows lambda expression assignments,
E731,
# allow I, O, l as variable names -> I is the identity matrix, i, j, k, l is reasonable indexing notation
E741
per-file-ignores =
# F811 Redefinition of unused name from line, does not play nice with pytest fixtures
scanpy/tests/test*.py: F811
exclude =
.git,
__pycache__,
build,
docs/_build,
dist,