-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
48 lines (40 loc) · 1.11 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
[tool.poetry]
name = "Diff poetry.lock"
version = "1.0.0"
description = "A Github Action that posts a summary of all changes within the poetry.lock file to a pull request"
authors = ["Nils Borrmann"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
poetry = "^1.4.0"
requests = "^2.28.2"
pydantic = "^1.10.6"
[tool.poetry.dev-dependencies]
pytest = "^7.2.2"
black = "^23.1.0"
ruff = "^0.0.254"
mypy = "^1.1.1"
types-requests = "^2.28.11.15"
requests-mock = "^1.10.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
pythonpath = ["."]
[tool.black]
line-length = 120
[tool.mypy]
strict = true
plugins = ["pydantic.mypy"]
[tool.ruff]
select = ["ALL"]
ignore = [
"D100", "D101", "D102", "D103", "D104", "D105", "D106", "D107", "D211", "D213", # missing docstrings
"ANN101", # missing type annotation for self
"TRY002", "TRY003", "EM101", "EM102", # exception handling
"T201", # disallow print
"PTH123",
]
line-length = 120
[tool.ruff.per-file-ignores]
"diff_poetry_lock/test/*" = ["S101", "PLR2004", "S105", "S106"] # hardcoded values