-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
66 lines (58 loc) · 1.48 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
[tool.poetry]
name = "review-tally"
version = "0.1.7"
description = "A tool to discover who is reviewing your organization's PRs"
authors = ["ghinks <[email protected]>"]
license = "Apache"
repository = "https://github.com/ghinks/github-pr-review-counter"
readme = "README.md"
packages = [
{ include = "reviewtally/**/*" }
]
[tool.poetry.dependencies]
python = "^3.11"
aiohttp = "^3.11.2"
requests = "^2.32.3"
tabulate = "^0.9.0"
asyncio = "^3.4.3"
aioresponses = "^0.7.7"
mypy = "^1.14.1"
types-requests = "^2.32.0.20241016"
types-tabulate = "^0.9.0.20241207"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.4"
ruff = "^0.8.4"
isort = "^5.13.2"
pytest-aiohttp = "^1.0.5"
pytest-asyncio = "^0.25.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
review-tally = "reviewtally.main:main"
[tool.ruff]
line-length = 79
exclude = [
"venv",
"reviewtally/**/__init__.py",
"tests/__init__.py",
"tests/get_reviewers/__init__.py"
]
[tool.ruff.lint]
select = ["ALL"]
ignore = ["D100", "D101", "D102", "D103", "D203", "D212", ]
per-file-ignores = { "tests/**/test*.py" = ["S101"] }
#E: Errors
#W: Warnings
#F: Pyflakes (logical errors)
#C: Cyclomatic complexity
#D: Docstrings (PEP 257)
#N: Naming conventions (PEP 8)
#I: Import conventions
#PT: Pytest-specific rules
#Q: Quotes (single vs. double)
#S: Security issues
#T: Type annotations
[tool.pytest.ini_options]
asyncio_mode = "auto" # or "strict"
required_plugins = ["pytest-asyncio"]