-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (78 loc) · 1.92 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
84
85
86
87
88
[tool.poetry]
name = "myth-hash"
version = "0.1.0"
description = "A tool for generating human-readable, multilingual fantasy character names based on input string hashes."
authors = ["Claas Flint <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/cl445/myth-hash"
repository = "https://github.com/cl445/myth-hash"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
include = ["data/*.json"]
[tool.poetry.dependencies]
python = ">=3.11,<4.0"
[tool.poetry.scripts]
myth-hash = "myth_hash.cli:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dev-dependencies]
bandit = "*"
black = "*"
isort = "*"
mypy = "*"
pylint = "*"
pytest = "*"
pyupgrade = "*"
nox = "*"
[tool.bandit]
exclude = ["tests/*.py", "venv/*.py"]
[tool.mypy]
python_version = "3.11"
disable_error_code = ["attr-defined"]
ignore_missing_imports = true
warn_unused_configs = true
warn_unused_ignores = true
warn_no_return = true
warn_return_any = true
warn_redundant_casts = true
[tool.pylint.'MESSAGES CONTROL']
disable = [
"broad-exception-caught",
"chained-comparison",
"fixme",
"format",
"invalid-name",
"missing-docstring",
"pointless-string-statement",
"too-few-public-methods",
"too-many-arguments",
"too-many-branches",
"too-many-locals",
"too-many-nested-blocks",
"too-many-return-statements",
"too-many-statements",
"too-many-instance-attributes",
"R0801",
"W1203",
"no-else-raise",
"no-else-return"
]
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
[tool.black]
line-length = 88
target-version = ['py311']
[tool.isort]
profile = "black"
line_length = 88
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true