-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (70 loc) · 1.71 KB
/
pyproject.toml
File metadata and controls
80 lines (70 loc) · 1.71 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[project]
name = "dploy"
description = "Provides functionality similar to GNU Stow as a cross platform CLI tool and Python 3 module"
license = "MIT"
authors = [
{ name = "Ryan Carney", email = "arecarn@gmail.com" },
]
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Topic :: Utilities",
]
version = "0.1.3"
dependencies = []
[project.urls]
Homepage = "https://github.com/arecarn/dploy"
[project.scripts]
dploy = "dploy.__main__:main"
[dependency-groups]
dev = [
"pytest>=4.6",
"pytest-cov>=2.6.0",
"pylint>=2.0",
"radon>=2.0.3",
"invoke>=2.0",
"ruff",
"ty",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
# Match black's default line length
line-length = 88
[tool.ruff.lint]
# Enable a broader set of rules
# E/W: pycodestyle
# F: Pyflakes
# I: isort
# UP: pyupgrade
# B: flake8-bugbear
# SIM: flake8-simplify
# RUF: Ruff-specific rules
# ANN: flake8-annotations (type annotations)
# TC: flake8-type-checking
# PYI: flake8-pyi
# FA: flake8-future-annotations
select = ["E", "W", "F", "I", "UP", "B", "SIM", "RUF", "ANN", "TC", "PYI", "FA"]
# Preserve the ignores from .flake8
# E501: line-length (let pylint/formatter handle)
# F821: undefined-name (let pylint handle)
# ANN401: any-type (sometimes necessary)
ignore = ["E501", "F821", "ANN401"]
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.pylint.messages_control]
disable = [
"locally-disabled",
"duplicate-code",
"len-as-condition",
"too-few-public-methods",
"too-many-arguments",
"too-many-positional-arguments",
"line-too-long",
"missing-docstring",
"invalid-name",
]
[tool.pylint.REPORTS]
reports = "no"