-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
72 lines (63 loc) · 2.22 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
[tool.setuptools]
py-modules = ["lnb"]
[project]
name = "leaf_nothing_behind"
authors = [
{name="Antoine Debouchage", email="antoine311200@gmail.com"},
{name="Valentin Goldite", email="valentin.goldite@gmail.com"},
{name="Clement Wang", email="clementwang2001@gmail.com"},
{name="Aurelien Wery", email="aurelienwery08@gmail.com"}
]
description = """Repository of the 2023 Transfer Learning competition in
partnership with World From Spac. Team Antoine Aurélien Clement Valentin."""
requires-python = ">=3.8"
keywords = ["Leaf Area Idex", "Deep Learning"]
license = {text = "MIT"}
classifiers = [
"Programming Language :: Python :: 3",
]
version = "1.0"
dynamic = ["readme", "dependencies"]
[tool.setuptools.dynamic]
readme = { file = ["README.md"] , content-type = "text/markdown" }
dependencies = { file = ["requirements.txt"] }
[tool.ruff]
# pycodestyle error (E) and warning (W), pyflakes (F), mccabe (C90), isort (I),
# pydocstyle (D), numpy-related (NPY), pandas-related (PD),
# flake8:
# annotations (ANN), boolean-trap (FBT), builtins (A), commas (COM),
# comprehensions (C4), import conventions (ICN), pie (PIE), pytest-style (PT),
# return (RET), simplify (SIM), tidy-imports (TID), unused-arguments (ARG)
select = ['A', 'ARG', 'C4', 'C90', 'COM', 'D', 'E', 'F', 'FBT', 'I',
'ICN', 'NPY', 'PD', 'PIE', 'PT', 'RET', 'SIM', 'TID', 'W']
ignore = ['RET504', 'F841', 'F401']
fixable = ['A', 'ARG', 'BLE', 'C4', 'C90', 'COM', 'D', 'E', 'F', 'FBT', 'I',
'ICN', 'NPY', 'PD', 'PIE', 'PT', 'RET', 'SIM', 'TID', 'W']
exclude = [".eggs", ".git", ".mypy_cache", ".ruff_cache", ".venv", "venv",
"__pypackages__"]
line-length = 88
target-version = "py38"
[tool.ruff.mccabe]
max-complexity = 10
[tool.flake8]
max-line-length = 88
[tool.black]
line-length = 88
[tool.ruff.pydocstyle]
convention = 'numpy'
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = false
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
files = '*.py'
follow_imports = 'skip'
follow_imports_for_stubs = false
ignore_missing_imports = true
no_implicit_optional = true
no_implicit_reexport = true
pretty = true
strict_equality = true
warn_redundant_casts = true
warn_unused_ignores = false