-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
71 lines (58 loc) · 1.65 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
[tool.poetry]
name = "pyrva-github-io"
version = "2024.06"
description = "PyRVA Website"
authors = ["Brian Cohan <[email protected]>"]
readme = "README.md"
packages = [{include = "pyrva", from = "src"}]
[tool.poetry.dependencies]
python = "^3.11"
flask = "^3.0.3"
python-dotenv = "^1.0.1"
requests = "^2.32.3"
bs4 = "^0.0.2"
lxml = "^5.2.2"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.7.1"
mypy = "^1.10.0"
frozen-flask = "^1.0.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = [
"A", # flake8-builtins
"ANN", # flake8-annotations
"B", # flake8-bugbear
"C", # Pylint-Convention
"COM", # flake8-commas
"E", # pycodestyle - Error
"F", # Pyflakes
"I", # isort
"N", # pep8-naming
"S", # flake8-bandit
"UP", # pyupgrade
"W", # pycodestyle - Warning
]
ignore = [
"ANN002", # Missing type annotation for *args
"ANN003", # Missing type annotation for **kwargs
"ANN101", # Missing type annotation for self in method
"ANN102", # Missing type annotation for cls in classmethod
"COM812", # missing-trailing-comma
"D105", # Missing docstring in magic method
"D107", # Missing docstring in __init__
"D203", # 1 blank line required before class docstring (conflicts with D211)
"D213", # Multi-line docstring symmary should start at the second line (conflicts with D212)
"D301", # Use r if any backslashes in a docstring
"E203", # Whitespace before ':'
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
[[tool.mypy.overrides]]
module = [
"requests",
]
ignore_missing_imports = true