/
pyproject.toml
98 lines (84 loc) · 2.54 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[build-system]
requires = ["setuptools", "poetry_core>=1.0"]
build-backend = "poetry.core.masonry.api"
[project]
name = "github_linter"
authors = [{ name = "James Hodgkinson", email = "james@terminaloutcomes.com" }]
classifiers = ["License :: OSI Approved :: MIT License"]
readme = "README.md"
dynamic = ["version", "description"]
keywords = ["github"]
[project.urls]
Home = "https://github.com/yaleman/github_linter"
[project.optional-dependencies]
dev = ["flit", "pytest", "pylint", "mypy", "types-PyYAML", "types-pytz"]
[project.scripts]
"github-linter" = 'github_linter.__main__:cli'
"github-linter-web" = 'github_linter.web.__main__:cli'
[tool.poetry.scripts]
"github-linter-web" = 'github_linter.web.__main__:cli'
'github-linter' = 'github_linter.__main__:cli'
[tool.poetry.group.dev.dependencies]
ruff = "^0.4.4"
black = "^24.4.2"
types-requests = "^2.31.0.20240406"
mypy = "^1.10.0"
pytest = "^8.2.0"
flit = "^3.9.0"
types-pyyaml = "^6.0.12.20240311"
types-pytz = "^2024.1.0.20240417"
pyre-check = "^0.9.19"
[tool.poetry]
name = "github_linter"
version = "0.0.4"
description = "A curiously complex tool to fit up things in my github repos."
authors = ["James Hodgkinson <james@terminaloutcomes.com>"]
classifiers = ["License :: OSI Approved :: MIT License"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
click = "^8.1.7"
loguru = "^0.7.2"
PyGithub = "^2.3"
requests = "^2.28.1"
PyYAML = "^6.0"
Jinja2 = "^3.1.4"
json5 = "^0.9.25"
pytz = "^2024.1"
python-hcl2 = "^4.3.3"
pydantic = "^2.7.1"
semver = ">=3.0.0.dev2"
tomli = "^2.0.1"
tomli-w = "^1.0.0"
wildcard-matcher = "^0.0.3"
fastapi = "^0.111.0"
uvicorn = "^0.29.0"
aiosqlite = "^0.20.0"
SQLAlchemy = "^2.0.30"
ruyaml = "^0.91.0"
github3-py = "^4.0.1"
greenlet = "^3.0.3"
[tool.poetry.dev-dependencies]
mypy = "^1.10"
types-PyYAML = "^6.0.12"
types-pytz = "^2024.1.0"
pytest = "^8.1.1"
pylint-pydantic = "^0.3.2"
SQLAlchemy = { version = "^2.0.30" }
bandit = "^1.7.8"
coverage = "^7.5.1"
httpx = "^0.27.0"
[tool.pylint.MASTER]
max-line-length = 200
disable = "W0511,consider-using-dict-items,duplicate-code"
# https://github.com/samuelcolvin/pydantic/issues/1961#issuecomment-759522422
extension-pkg-whitelist = "pydantic"
load-plugins = "pylint_pydantic"
[tool.ruff]
line-length = 200
exclude = ["W0511", "consider-using-dict-items", "duplicate-code"]
# https://github.com/samuelcolvin/pydantic/issues/1961#issuecomment-759522422
# extension-pkg-whitelist="pydantic"
# load-plugins="pylint_pydantic"
[tool.pytest.ini_options]
markers = ["network: things which need authentication, '-m \"not network\"'"]