-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (56 loc) · 1.14 KB
/
pyproject.toml
File metadata and controls
63 lines (56 loc) · 1.14 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
[project]
name = "dotfiles"
version = "0.0.1"
description = "simple dotfile manager"
requires-python = ">=3.12"
dependencies = []
[dependency-groups]
dev = ["basedpyright>=1.39.0", "mypy>=1.20.0", "pytest>=9.0.2", "ruff>=0.15.9"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
only-include = ["config.py"]
[tool.mypy]
python_version = "3.12"
warn_unused_configs = true
warn_unreachable = true
check_untyped_defs = true
[tool.ruff]
line-length = 80
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# pyflakes,
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# ruff specific
"RUF",
# type checking
"TC",
# pylint
"PL",
# datetime
"DTZ",
# simplify lint
"SIM",
]
ignore = [
# I don't agree that Optional should be deprecated
"UP045",
# use f-string instead of .format
# I know they both exist, now shut up
"UP032",
# someday I'll import from collections.abc, but not today
"UP035",
# ruff should re-format long lines anyway, if possible
"E501",
]