-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
103 lines (99 loc) · 2.57 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
[project]
name = "dataslate-parser"
version = "0.1.0"
description = "a module for parsing battlescribe rosters and allowing them to be printed or displayed cleanly"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"aiofiles>=24.1.0",
"beautifulsoup4>=4.12.3",
"fastapi>=0.115.6",
"httpx>=0.28.1",
"jinja2-fragments>=1.6.0",
"jinja2>=3.1.4",
"lxml>=5.3.0",
"pydantic>=2.10.3",
"python-multipart>=0.0.19",
"uvicorn>=0.32.1",
"loguru>=0.7.3",
]
[dependency-groups]
dev = [
"pytest-asyncio>=0.24.0",
"pytest-clarity>=1.0.1",
"pytest-cov>=6.0.0",
"pytest-random-order>=1.1.1",
"pytest-sugar>=1.0.0",
"pytest>=8.3.4",
"mypy>=1.13.0",
"pre-commit>=4.0.1",
"ruff>=0.8.0",
"types-beautifulsoup4>=4.12.0.20241020",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
addopts = "-vv --random-order"
[tool.coverage.run]
omit = [
'*/.local/*',
'__init__.py',
'tests/*',
'*/tests/*',
'.venv/*',
'*/migrations/*',
'*_test.py',
"src/utils/logger_manager.py",
]
[tool.ruff]
line-length = 120
exclude = [
".eggs",
".git",
".pytype",
".ruff_cache",
".venv",
"__pypackages__",
".venv",
]
lint.ignore = [
"B008", # function-call-in-default-argument (B008)
"S101", # Use of `assert` detected
"RET504", # Unnecessary variable assignment before `return` statement
"PLR2004", # Magic value used in comparison, consider replacing {value} with a constant variable
"ARG001", # Unused function argument: `{name}`
"S311", # Standard pseudo-random generators are not suitable for cryptographic purposes
"ISC001", # Checks for implicitly concatenated strings on a single line
]
lint.select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"E", # pycodestyle
"F", # Pyflakes
"N", # pep8-naming
"RET", # flake8-return
"S", # flake8-bandit
"W", # pycodestyle
"Q", # flake8-quotes
"C90", # mccabe
"I", # isort
"UP", # pyupgrade
"BLE", # flake8-blind-except
"C4", # flake8-comprehensions
"ISC", # flake8-implicit-str-concat
"ICN", # flake8-import-conventions
"PT", # flake8-pytest-style
"PIE", # flake8-pie
"T20", # flake8-print
"SIM", # flake8-simplify
"ARG", # flake8-unused-arguments
"PTH", # flake8-use-pathlib
"ERA", # eradicate
"PL", # Pylint
"NPY", # NumPy-specific rules
"PLE", # Pylint
"PLR", # Pylint
"PLW", # Pylint
"RUF", # Ruff-specific rules
"PD", # pandas-vet
]