-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
39 lines (32 loc) · 1.2 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
[tool.poetry]
name = "check-semantic-version"
version = "1.0.5"
description = "A GitHub action that checks the version of your package is the same as the expected semantic version calculated from the conventional commits on your current branch."
authors = ["Marcus Lugg <marcus@octue.com>"]
readme = "README.md"
packages = [{include = "check_semantic_version"}]
[tool.poetry.scripts]
check-semantic-version = "check_semantic_version.cli:main"
[tool.poetry.dependencies]
python = "^3.10"
poetry = "^1.8.0"
pyhocon = "^0.3.59"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.8.0"
coverage = "^6.5.0"
ruff = "^0.6"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes.
select = ["E", "F"]
# Ignore E501 line-too-long - see https://docs.astral.sh/ruff/faq/#is-the-ruff-linter-compatible-with-black for why
ignore = ["E501"]
# Disable fix for unused imports (`F401`) which annoyingly removes your work-in-progress on save
unfixable = ["F401"]
[tool.ruff.lint.isort]
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
force-sort-within-sections = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"