-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
115 lines (102 loc) · 2.77 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
105
106
107
108
109
110
111
112
113
114
115
# (c) 2023 Giacomo Barone. All rights reserved.
# Software usage is hereby granted to the customer according to the terms in LICENSE file.
[build-system]
requires = ["setuptools>=60", "setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "swap-anything"
# version = ""
dynamic = ["version"]
description = "A mix and match (swap) library to empower swapping-based projects."
authors = [
{ name = "@ggbaro", email = "[email protected]" },
{ name = "@CheckSim" },
{ name = "@LFK01" },
]
maintainers = [
{ name = "@ggbaro", email = "[email protected]" },
]
readme = "README.md"
requires-python = ">=3.10,<3.13"
keywords = []
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development",
"Topic :: Utilities",
"Typing :: Typed",
]
license = { file = "LICENSE" }
dependencies = [
"pandas>=1.5,<3",
"networkx>=3.1,<3.2",
"numpy>=1.21.0,<2",
]
[tool.setuptools_scm]
[project.optional-dependencies]
all = [
"pyairtable>=1.5.0,<1.6",
"pydantic>=2,<3",
"pydantic-settings",
]
backend = [
"pydantic>=2,<3",
"pydantic-settings",
]
airtable = [
"pyairtable>=1.5.0,<1.6",
"pydantic>=2,<3",
"pydantic-settings",
]
dev = ["black", "ruff", "pre-commit", "setuptools-scm"]
test = ["requests", "pytest", "pytest-cov", "Faker"]
docs = [
"mkdocs",
"mkdocs-material",
"mkdocstrings",
"mkdocs-jupyter",
"mkdocstrings[python]",
"pytkdocs[numpy-style]",
]
[tool.black]
line-length = 88
[tool.coverage.report]
exclude_lines = ["if TYPE_CHECKING:", "if __name__ == .__main__.:", "no cov"]
[tool.coverage.run]
branch = true
parallel = true
[tool.isort]
profile = "black"
[tool.ruff]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.isort]
known-third-party = ["pydantic"]