-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
71 lines (61 loc) · 1.68 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
[project]
name = "pyrva-github-io"
version = "2024.06"
description = "PyRVA Website"
readme = "README.md"
authors = [
{name = "Brian Cohan", email = "briancohan@gmail.com"},
]
requires-python = "<4.0,>=3.11"
dependencies = [
"bs4<1.0.0,>=0.0.2",
"flask<4.0.0,>=3.0.3",
"lxml<6.0.0,>=5.2.2",
"python-dotenv<2.0.0,>=1.0.1",
"requests<3.0.0,>=2.32.3",
]
[dependency-groups]
dev = [
"frozen-flask<2.0.0,>=1.0.2",
"mypy<2.0.0,>=1.10.0",
"pre-commit<4.0.0,>=3.7.1",
"ruff>=0.9.2",
"types-beautifulsoup4>=4.12.0.20241020",
]
[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