-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
80 lines (70 loc) · 1.86 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
[tool.poetry]
name = "comeit"
version = "0.5.1"
description = "A pure Python project enforcing conventional commits."
authors = ["Marius Gulbrandsen <marius_gulbrandsen@hotmail.no>"]
readme = "docs/README.md"
license = "MIT"
packages = [{include = "comeit"}]
keywords = ["conventional commits", "git", "python", "commits", "commit"]
repository = "https://github.com/mariugul/comeit"
homepage = "https://github.com/mariugul/comeit"
documentation = "https://example.com"
[tool.poetry.dependencies]
python = "^3.10"
pyyaml = "6.0.2"
rich = "13.7.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.0"
pre-commit = "^3.0"
ruff = "0.6.1"
isort = "^5.13.2"
black = "^24.8.0"
[tool.poetry.group.docs.dependencies]
sphinx = "^7.0.0"
sphinx-rtd-theme = "^2.0.0"
sphinx-autobuild = "^2024.4.16"
sphinx-copybutton = "^0.5.2"
myst-parser = "^4.0.0"
[tool.black]
line-length = 100
target-version = ["py310"]
skip-string-normalization = false
[tool.isort]
profile = "black"
line_length = 100
known_third_party = []
known_first_party = []
no_lines_before = "STDLIB"
default_section = "THIRDPARTY"
include_trailing_comma = true
force_single_line = false
lines_after_imports = 0
lines_between_types = 0
split_on_trailing_comma = false
[tool.ruff]
exclude = ["tests"]
line-length = 100
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
docstring-code-line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
extend-select = [
"UP", # pyupgrade
# "D", # pydocstyle # Comment in this at a later time
]
ignore = [
# Conflicting rules
"D203", # one-blank-line-before-class
"D211", # no-blank-line-before-class
"D212", # multi-line-summary-first-line
"D213", # multi-line-summary-second-line
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
comeit = "comeit.__main__:main"