forked from jtauber/pyuca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
83 lines (76 loc) · 1.57 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[tool.poetry]
authors = ["Bpolitycki <bastian.politycki@unisg.ch>"]
description = "Unicode sorting in Python made simple."
include = [
{path = "pyuca/tables", format = [
"sdist",
"wheel",
]},
]
license = "MIT"
name = "pyucollate"
readme = "README.md"
version = "1.0.0"
[tool.poetry.dependencies]
python = "^3.11"
[tool.poetry.group.dev.dependencies]
black = "^23.9.1"
mypy = "^1.5.1"
pytest = "^7.4.2"
ruff = "^0.0.290"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.black] # https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-via-a-file
line-length = 100
target-version = ["py311"]
[tool.mypy] # https://mypy.readthedocs.io/en/latest/config_file.html
files = ["**/*.py"]
ignore_missing_imports = true
pretty = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
warn_unreachable = true
[tool.pytest.ini_options] # https://docs.pytest.org/en/latest/reference/reference.html#ini-options-ref
testpaths = ["src", "tests"]
xfail_strict = true
[tool.ruff] # https://github.com/charliermarsh/ruff
fix = true
ignore = ["D100", "D104", "E501", "PGH001", "PGH002", "PGH003", "RET504", "S101"]
ignore-init-module-imports = true
line-length = 100
select = [
"A",
"ASYNC",
"B",
"C4",
"C90",
"D",
"DTZ",
"E",
"F",
"FLY",
"I",
"ISC",
"N",
"NPY",
"PGH",
"PIE",
"PLC",
"PLE",
"PLR",
"PLW",
"PT",
"RET",
"RUF",
"RSE",
"SIM",
"TID",
"UP",
"W",
"YTT",
]
src = ["src", "tests"]
target-version = "py311"
unfixable = ["F401", "F841"]