-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
76 lines (69 loc) · 1.75 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
[tool.poetry]
name = "owntinfoil"
version = "0.2.1"
description = ""
authors = ["jag-k <[email protected]>"]
maintainers = ["jag-k <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/jag-k/owntinfoil"
repository = "https://github.com/jag-k/owntinfoil"
documentation = "https://github.com/jag-k/owntinfoil/wiki"
keywords = ["tinfoil", "owntinfoil", "nintendo-switch"]
packages = []
[tool.poetry.dependencies]
python = "^3.12"
python-dotenv = "^1.0.1"
aiohttp = "^3.9.5"
aiofile = "^3.8.5"
aiohttp-basicauth = "^1.0.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.5.0"
ruff = "*"
ruff-lsp = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
preview = true
target-version = "py311"
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"YTT", # flake8-2020
# "ANN", # flake8-annotations
"ASYNC", # flake8-async
"TRIO", # flake8-trio
"S", # flake8-bandit
"B", # flake8-bugbear
"A", # flake8-builtins
"COM", # flake8-commas
"C4", # flake8-comprehensions
"ICN", # flake8-import-conventions
"G", # flake8-logging-format
"INP", # flake8-no-pep420
"PIE", # flake8-pie
"PYI", # flake8-pyi
"RSE", # flake8-raise
"RET", # flake8-return
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"INT", # flake8-gettext
"PTH", # flake8-use-pathlib
"TD", # flake8-todos
"ERA", # eradicate
"PGH", # pygrep-hooks
"PL", # PyLint
"FLY", # flynt
"PERF", # Perflint
"RUF", # ruff
]
ignore = ["E501", "COM812"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F403", "F405"]