-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
101 lines (81 loc) · 2.09 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
[project]
name = "iitp-interpolation"
version = "0.1.0"
dynamic = ["version"]
description = "Study project about interpolation"
authors = [
{name = "bunin-kirill", email = "kirbucom@gmail.com"}
]
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Typing :: Typed",
]
dependencies = ["click (>=8.1.8,<9.0.0)", "requests (>=2.32.3,<3.0.0)", "scipy (>=1.15.2,<2.0.0)", "argparse (>=1.4.0,<2.0.0)", "pillow (>=11.1.0,<12.0.0)", "matplotlib (>=3.10.1,<4.0.0)"]
[project.urls]
"Homepage" = "https://github.com/kirbu123/iitp_interpolation"
[build-system]
requires = [
"setuptools",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 79
target-version = ["py311"]
# [tool.setuptools]
# include-package-data = false
[tool.setuptools.packages.find]
where = ["."]
include = []
exclude = []
namespaces = false
[tool.poetry.scripts]
format = "black:main"
cartesiangrid = "iitp_interpolation.main:module_cartesiangrid"
interp = "iitp_interpolation.main:module_interp"
regulargrid = "iitp_interpolation.main:module_regulargrid"
[tool.poetry.group.dev.dependencies]
black = "^25.1.0"
ruff = "^0.9.9"
[tool.ruff]
# Enable flake8-bugbear (\B) rules.
select = ["E", "F", "B", "I"]
ignore = ["E501", "E741"] # Ignore line length violations and others
# Allow autofix for all enabled rules (when \--fix\) is provided.
fixable = ["ALL"]
unfixable = []
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
# Same as Black.
line-length = 88
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10