torchgeo/pyproject.toml

72 строки
1.2 KiB
TOML
Исходник Обычный вид История

[build-system]
requires = [
"setuptools>=42",
"wheel",
]
build-backend = "setuptools.build_meta"
2021-07-04 23:52:12 +03:00
2021-05-12 04:54:53 +03:00
[tool.black]
2021-06-18 00:05:26 +03:00
target-version = ["py36", "py37", "py38", "py39"]
2021-07-05 01:03:27 +03:00
color = true
2021-05-12 04:54:53 +03:00
exclude = '''
/(
# Data
| data
2021-05-12 04:54:53 +03:00
# Spack
| \.spack-env
2021-05-12 04:54:53 +03:00
# Python
| build
| dist
| \.cache
| \.mypy_cache
| \.pytest_cache
| __pycache__
| .*\.egg-info
2021-05-12 04:54:53 +03:00
# Git
| \.git
| \.github
2021-05-12 04:54:53 +03:00
)/
'''
2021-07-04 23:52:12 +03:00
2021-07-05 01:03:27 +03:00
[tool.isort]
profile = "black"
known_first_party = ["docs", "tests", "torchgeo"]
2021-07-12 17:42:54 +03:00
extend_skip = [".spack-env/"]
2021-07-05 01:03:27 +03:00
skip_gitignore = true
color_output = true
2021-07-04 23:52:12 +03:00
[tool.mypy]
ignore_missing_imports = true
show_error_codes = true
exclude = "(data|build|dist)/"
# Strict
warn_unused_configs = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
no_implicit_reexport = true
strict_equality = true
2021-06-24 19:02:23 +03:00
[tool.pytest.ini_options]
norecursedirs = [
"*.egg*",
".*",
"build",
"data",
"dist",
"docs",
"__pycache__",
]