-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
86 lines (74 loc) · 2.17 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
[project]
name = "blitz-models"
version = "1.2.24"
authors = [{ name = "Jylpah", email = "[email protected]" }]
description = "Pydantic models for Wargaming's World of Tanks Blitz game "
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Framework :: Pydantic",
"Framework :: aiohttp",
"Topic :: Games/Entertainment",
]
dependencies = [
"aiofiles>=23.1",
"aiohttp>=3.9.1",
"aiosqlite>=0.19",
"isort>=5.12",
"pyarrow>=14.0.1",
"pydantic>=2.4",
"pymongo>=4.6",
"PyYAML>=6.0.1",
"pyutils @ git+https://github.com/Jylpah/[email protected]",
"pydantic-exportables @ git+https://github.com/Jylpah/pydantic-exportables.git",
]
[project.optional-dependencies]
dev = [
"build>=0.10",
"mypy>=1.7",
"pip-chill>=1.0",
"pip-audit>=2.6",
"pytest>=7.4",
"pytest-asyncio>=0.23",
"pytest-datafiles>=3.0",
"pytest-cov>=4.1",
"pytest-timeout>=2.2",
"ruff>=0.1.9",
"types-aiofiles>=23.1",
]
[project.urls]
"Homepage" = "https://github.com/Jylpah/blitz-models"
"Bug Tracker" = "https://github.com/Jylpah/blitz-models/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/blitzmodels"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.mypy]
plugins = ["pydantic.mypy"]
mypy_path = "$MYPY_CONFIG_FILE_DIR/src"
[tool.ruff]
# line-length = 88
include = ["pyproject.toml", "src/**/*.py", "tests/**/*.py"]
indent-width = 4
extend-include = ["*.ipynb"]
extend-exclude = [".venv", ".vscode" ]
lint.fixable = ["ALL"]
# [tool.pyright]
# reportGeneralTypeIssues = false
# reportInvalidStringEscapeSequence = false
[tool.pytest.ini_options]
minversion = "7.4"
addopts = "-v --cov=src"
pythonpath = "src" # avoid import path append in test files
filterwarnings = [
'ignore:Inheritance class ThrottledClientSession from ClientSession is discouraged:DeprecationWarning',
'ignore:legacy JSON format is depreciated:DeprecationWarning',
]