-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (94 loc) · 2.21 KB
/
pyproject.toml
File metadata and controls
106 lines (94 loc) · 2.21 KB
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
[project]
name = "pyodb"
version = "0.1.5"
authors = [
{ name="Nikolas Teuschl", email="nikolas.teuschl@alpha-origin.biz" },
]
description = "Python Object DataBase (PyODB) is an ORM library aiming to be as simple to use as possible."
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
keywords = [
"cache", "caching", "datacache",
"orm", "database", "sqlite",
"sqlite3",
]
dependencies = []
license = { file = "LICENSE" }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.urls]
"Homepage" = "https://github.com/NeoSecundus/PyODB"
"Bug Tracker" = "https://github.com/NeoSecundus/PyODB/issues"
"Changelog" = "https://github.com/NeoSecundus/PyODB/blob/main/CHANGELOG.md"
[tool.ruff]
# Which types of errors to include
select = [
"F", # Pyflakes
"E", # PyCodestyle Errors
"W", # PyCodestyle Warnings
"I", # isort conventions (Import sorting)
"N", # PEP8 Naming Conventions
"PLC", # Pylint Conventions
"PLE", # Pylint Errors
"PLR", # Pylint Refactors
"PLW", # Pylint Warnings
"RUF", # Ruff specific errors
]
ignore = ["N818", "PLR2004", "E701", "RUF005", "PLW2901", "I001"]
line-length = 100
force-exclude = true
exclude = [
".git",
".vscode",
".mypy_cache",
".ruff_cache",
".venv",
"__pypackages__",
"_build",
"build",
"dist",
"scripts",
"playground",
"docs",
"*test*"
]
respect-gitignore = true
format = "text"
[tool.ruff.per-file-ignores]
"*items.py" = ["N805", "N815"]
[tool.ruff.pydocstyle]
convention = "google"
[tool.ruff.pylint]
max-args = 6
max-returns = 4
[tool.ruff.pycodestyle]
ignore-overlong-task-comments = true
max-doc-length = 100
[tool.pytest.ini_options]
pythonpath = ["src"]
[tool.mypy]
implicit_optional = true
ignore_missing_imports = true
[tool.tox]
legacy_tox_ini = """
[tox]
env_list =
py{310,311,312}
minversion = 4.4.8
[testenv]
description = Run tests with pytest
package = wheel
wheel_build_env = .pkg
deps =
pytest>=7
pydantic==1.10.9
commands =
python3 -m pytest {tty:--color=yes} test {posargs}
download = True
"""