-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
116 lines (98 loc) · 2.56 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[tool.black]
line-length = 100
[tool.mypy]
python_version = 3.9
files = "."
install_types = true
namespace_packages = true
no_implicit_optional = true
non_interactive = true
pretty = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
strict = true
strict_optional = true
warn_no_return = true
[[tool.mypy.overrides]]
module = ["configargparse", "ruamel.yaml", "single_source"]
ignore_missing_imports = true
[tool.poetry]
name = "antsichaut"
version = "0.3.7"
description = "antsichaut automates ansible changelog generation from GitHub Pull Requests"
authors = ["Sebastian Gumprich <sebastian.gumprich@t-systems.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/rndmh3ro/antsichaut"
repository = "https://github.com/rndmh3ro/antsichaut"
keywords = ["antsibull-changelog", "release", "ansible"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Environment :: Console",
"Framework :: Ansible",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Documentation"
]
include = ["LICENSE"]
[tool.poetry.dependencies]
python = "^3.8"
ConfigArgParse = "^1.4.1"
requests = "^2.25.1"
"ruamel.yaml" = "^0.17.9"
single-source = "^0.3.0"
[tool.poetry.dev-dependencies]
ConfigArgParse = "^1.4.1"
requests = "^2.25.1"
"ruamel.yaml" = "^0.17.9"
[tool.poetry.scripts]
antsichaut = "antsichaut.antsichaut:main"
[tool.pylint]
[tool.pylint.format]
max-line-length = 100
[tool.pylint.imports]
preferred-modules = [
# NOTE: The unittest replacements below help keep
# NOTE: the tests pytest ecosystem-oriented.
"unittest:pytest",
"unittest.mock:pytest-mock",
]
[tool.pylint.master]
ignore = [
"_version.py", # built by setuptools_scm
]
# pylint defaults + fh for with open .. as (f|fh)
good-names = "i,j,k,ex,Run,_,f,fh"
jobs = 0
[tool.pylint.messages_control]
disable = [
"duplicate-code",
"fixme",
"too-few-public-methods",
"unsubscriptable-object",
"protected-access", # covered by ruff
]
enable = [
"useless-suppression", # Identify unneeded pylint disable statements
]
[tool.ruff]
fix = true
line-length = 100
builtins = ["__"]
select = ["ALL"]
# Work to clean these up
ignore = [
"ANN", # flake8-annotations
"D", # flake8-docstrings
"FBT", # flake8 boolean, keep
"T201", # flake8-bugbear, replace print with logging
]
target-version = "py38"
[tool.ruff.per-file-ignores]
# S101 allow assert in tests
# SLF001 allow private access in tests
"tests/**" = ["S101", "SLF001"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"