-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
104 lines (94 loc) · 2.03 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[project]
name = "pyesfg-cmip6"
version = "0.0.1"
maintainers = [{name = "Andy Aschwanden", email = "[email protected]"}]
description = """Downloading and plotting of PMIP4 results"""
readme = "README.md"
requires-python = ">3.8"
license = {text = "GPL 3.0"}
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Postprocessing",
]
dynamic = ["dependencies"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.flake8]
# https://pep8.readthedocs.io/en/latest/intro.html#error-codes
ignore = """
E203,
E501,
W503,
W605,
C901,
F841,
E722,
E402,
F722,
"""
# Max width of Github code review is 119 characters
max-line-length = 119
max-complexity = 18
exclude = [
".tox",
".git",
"*/migrations/*",
".mypy_cache",
".pytest_cache",
"*__init__.py",
"venv"
]
[tool.isort]
multi_line_output = 3
include_trailing_comma = "True"
force_grid_wrap = 0
use_parentheses = "True"
line_length = 88
[tool.pycodestyle]
max-line-length = 119
exclude = [
".tox",
".git",
"*/migrations/*",
".mypy_cache",
".pytest_cache",
"*__init__.py",
"venv"
]
[tool.mypy]
python_version = 3.11
check_untyped_defs = "True"
ignore_missing_imports = "True"
warn_unused_ignores = "True"
warn_redundant_casts = "True"
warn_unused_configs = "True"
[tool.black]
line-length = 88
target-version = ['py311']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.mypy_cache
| _build
| conda
| docs
)/
'''
[tool.pylint.messages_control]
disable = """
too-many-lines,
no-else-return,
bare-except
"""
[tool.pylint.format]
max-line-length = 120