-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
67 lines (58 loc) · 1.63 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
[project]
name = "xdg-base-dirs"
version = "6.0.2"
description = "Variables defined by the XDG Base Directory Specification"
authors = [{ name = "Scott Stevenson", email = "[email protected]" }]
requires-python = ">=3.10"
readme = "README.md"
license = "ISC"
keywords = ["xdg", "base", "directory", "specification"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: Unix",
"Operating System :: Microsoft :: Windows",
]
[project.urls]
Homepage = "https://github.com/srstevenson/xdg-base-dirs"
Repository = "https://github.com/srstevenson/xdg-base-dirs"
Issues = "https://github.com/srstevenson/xdg-base-dirs/issues"
[dependency-groups]
dev = [
"coverage>=7.6.4",
"mypy>=1.0.1",
"pytest>=7.2.1",
"pytest-cov>=4.0.0",
"ruff>=0.1.6",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.mypy]
check_untyped_defs = true
disallow_any_unimported = true
disallow_untyped_defs = true
enable_error_code = ["ignore-without-code"]
no_implicit_optional = true
show_error_codes = true
strict = true
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.pytest.ini_options]
addopts = "--cov=xdg_base_dirs --cov-report=term-missing"
testpaths = ["tests"]
[tool.ruff]
target-version = "py310"
[tool.ruff.format]
docstring-code-format = true
skip-magic-trailing-comma = true
[tool.ruff.lint]
select = ["ALL"]
ignore = ["COM812", "D203", "D213", "INP001", "ISC001", "S101"]
[tool.ruff.lint.isort]
split-on-trailing-comma = false