generated from peaky76/python-poetry-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
55 lines (49 loc) · 1.2 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
[tool.poetry]
name = "likeness"
version = "1.0.2"
description = "A mixin that puts a number on object comparisons"
authors = ["peaky76 <[email protected]>"]
license = "GPL-3.0-only"
readme = "README.md"
packages = [{ include = "likeness" }]
[tool.poetry.dependencies]
python = "^3.11"
numpy = ">=1.26.4,<3.0.0"
[tool.poetry.group.dev.dependencies]
auto-changelog = "^0.6.0"
coverage = "^7.4.1"
mypy = "^1.8.0"
pre-commit = ">=3.6.1,<5.0.0"
pytest = "^8.0.0"
pytest-cov = ">=4.1,<6.0"
radon = "^6.0.1"
ruff = ">=0.2.1,<0.10.0"
sphinx = ">=7.2.6,<9.0.0"
sphinx-rtd-theme = ">=2,<4"
toml-cli = ">=0.6,<0.8"
[tool.mypy]
exclude = "^docs/"
[tool.ruff.lint]
select = [
"E", # pycodestyle Error
"F", # pyflakes
"C90", # mccabe
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"FBT", # flake8-boolean-trap
"C4", # flake8-comprehensions
"PYI", # flake8-pyi
"PT", # flake8-pytest-style
"RSE", # flake8-raise
"RET", # flake8-return
"SIM", # flake8-simplify
"PTH", # flake8-use-pathlib
"PERF", # perflint
"FURB", # refurb
"RUF", # ruff specific
]
ignore = ["E501", "E731"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"