-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
52 lines (43 loc) · 1.02 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
[tool.poetry]
authors = ["Andrea Mignone <[email protected]>"]
description = "Sync .pre-commit-config.yaml repos starting from poetry.lock"
name = "sync_with_poetry"
version = "1.2.0"
[tool.poetry.dependencies]
python = ">=3.9"
PyYAML = "^6.0.1"
tomlkit = "^0.7.2"
[tool.poetry.group.dev.dependencies]
coverage = [
{extras = [
"toml",
], version = "^6.0", python = ">=3.6,<3.7"},
{extras = [
"toml",
], version = ">=6.5", python = ">=3.7"},
]
mypy = "^0.971"
pre-commit = "^3.8.0"
pytest = "^6.2"
pytest-cov = "^4.0.0"
ruff = "^0.6.8"
types-PyYAML = "^6.0.1"
[tool.poetry.scripts]
swp = "sync_with_poetry.swp:main"
[tool.pytest.ini_options]
addopts = "-svv"
testpaths = ["tests"]
[tool.mypy]
disallow_incomplete_defs = true
disallow_untyped_defs = true
explicit_package_bases = true
files = ["**/*.py"]
namespace_packages = true
show_error_codes = true
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.ruff]
line-length = 100
[tool.ruff.format]
docstring-code-format = true