-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
84 lines (75 loc) · 1.5 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
[build-system]
requires = ["setuptools>=62.1.0"]
build-backend = "setuptools.build_meta"
[project]
name = "aerodynamics"
version = "0.0.1"
maintainers = [
{name = "Henri Lefevre", email = "[email protected]"}
]
keywords = ["aerodynamics"]
description = "Personal aerodynamics code and research"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Framework :: Matplotlib",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering"
]
dependencies = [
"matplotlib==3.5.1",
"numpy==1.22.3",
"scipy==1.8.0"
]
[project.optional-dependencies]
dev = [
"pylint==2.13.9",
"isort==5.10.1",
"mypy==0.950",
"black==22.3.0"
]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = lint
isolated_build = True
minversion = 3.25.0
requires = tox_venv >= 1.0.0
[testenv:lint]
basepython = python3.10
deps =
mypy
isort
black
pylint
commands =
mypy src
isort --check-only src/aerodynamics
black --check .
pylint src
"""
[tool.setuptools]
package-dir = {"" = "src"}
packages = ["aerodynamics"]
[tool.black]
line-length = 120
target-version = ["py310"]
[tool.isort]
profile = "black"
src_paths = ["."]
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
[tool.pylint.format]
max-line-length = 120
disable = [
"cell-var-from-loop",
"duplicate-code",
"invalid-name",
"missing-function-docstring",
"missing-module-docstring",
"redefined-outer-name",
"too-many-arguments",
"too-many-locals"
]