-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (63 loc) · 2 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (63 loc) · 2 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
[build-system]
build-backend = 'poetry.core.masonry.api'
requires = ['poetry-core']
[tool]
[tool.commitizen]
bump_message = 'bump(RELEASE): $current_version → $new_version'
pre_bump_hooks = ['poetry run pre-commit run --hook-stage=manual commitizen-pre-bump --files pyproject.toml -c .cicd-tools/configuration/pre-commit-bootstrap.yaml || true']
version = '0.8.0'
version_files = ['pyproject.toml:version']
version_provider = 'poetry'
[tool.mypy]
mypy_path = 'src'
[tool.poetry]
authors = ['Niall Byrne <niall@niallbyrne.ca>']
description = 'Hooks for CICD-Tools.'
include = ['cicd-tools/**/*']
name = 'cicd-tools-pre-commit'
readme = 'README.md'
version = '0.8.0'
[tool.poetry.dependencies]
check-jsonschema = '^0.30.0'
python = '>=3.8,<4.0'
[tool.poetry.group]
[tool.poetry.group.dev]
[tool.poetry.group.dev.dependencies]
commitizen = '^3.2.2'
mypy = '^1.14.1'
pre-commit = '^3.3.2'
[[tool.poetry.packages]]
from = 'src'
include = 'cicd-tools'
[[tool.poetry.packages]]
from = 'src'
include = 'cicd_tools_pre_commit'
[tool.poetry.scripts]
gettext_translations_missing = 'cicd_tools_pre_commit:gettext_translations_missing_hook'
pysed = 'cicd_tools_pre_commit:pysed_hook'
sphinx_build_language = 'cicd_tools_pre_commit:sphinx_build_language'
sphinx_translate = 'cicd_tools_pre_commit:sphinx_translate'
with-cicd-resources = 'cicd_tools_pre_commit:with_cicd_resources'
[tool.ruff]
exclude = ['.git', '__pycache__']
indent-width = 4
line-length = 80
[tool.ruff.format]
quote-style = 'double'
[tool.ruff.lint]
fixable = ['ALL']
future-annotations = true
ignore = ['D105', 'D107', 'D203', 'D213']
select = ['ARG001', 'ANN', 'D', 'DJ', 'E', 'F', 'I', 'Q']
unfixable = []
[tool.ruff.lint.flake8-type-checking]
quote-annotations = false
[tool.ruff.lint.isort]
default-section = 'first-party'
length-sort = false
no-lines-before = ['local-folder']
section-order = ['future', 'standard-library', 'third-party', 'first-party', 'local-folder']
[tool.ruff.lint.per-file-ignores]
'*/tests/*.py' = ['ANN', 'D']
[tool.ruff.lint.pylint]
max-args = 6