зеркало из https://github.com/microsoft/torchgeo.git
Move flake8 configuration to setup.cfg (#398)
This commit is contained in:
Родитель
16774fb6f4
Коммит
78a8d93ff8
27
.flake8
27
.flake8
|
@ -1,27 +0,0 @@
|
|||
[flake8]
|
||||
max-line-length = 88
|
||||
extend-ignore =
|
||||
# See https://github.com/PyCQA/pycodestyle/issues/373
|
||||
E203,
|
||||
exclude =
|
||||
# TorchGeo
|
||||
data/,
|
||||
logo/,
|
||||
logs/,
|
||||
output/,
|
||||
|
||||
# Spack
|
||||
.spack-env/,
|
||||
|
||||
# Python
|
||||
build/,
|
||||
dist/,
|
||||
.cache/,
|
||||
.mypy_cache/,
|
||||
.pytest_cache/,
|
||||
__pycache__/,
|
||||
*.egg-info/,
|
||||
|
||||
# Git
|
||||
.git/,
|
||||
.github/,
|
28
setup.cfg
28
setup.cfg
|
@ -113,3 +113,31 @@ tests =
|
|||
pytest>=6
|
||||
# pytest-cov 2.4+ required for pytest --cov flags
|
||||
pytest-cov>=2.4
|
||||
|
||||
[flake8]
|
||||
max-line-length = 88
|
||||
extend-ignore =
|
||||
# See https://github.com/PyCQA/pycodestyle/issues/373
|
||||
E203,
|
||||
exclude =
|
||||
# TorchGeo
|
||||
data/,
|
||||
logo/,
|
||||
logs/,
|
||||
output/,
|
||||
|
||||
# Spack
|
||||
.spack-env/,
|
||||
|
||||
# Python
|
||||
build/,
|
||||
dist/,
|
||||
.cache/,
|
||||
.mypy_cache/,
|
||||
.pytest_cache/,
|
||||
__pycache__/,
|
||||
*.egg-info/,
|
||||
|
||||
# Git
|
||||
.git/,
|
||||
.github/,
|
||||
|
|
Загрузка…
Ссылка в новой задаче