-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (63 loc) · 2.01 KB
/
pyproject.toml
File metadata and controls
72 lines (63 loc) · 2.01 KB
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
[project]
description = "Metify: Mojo Firmware Catalog"
dynamic = [
"version",
]
name = "firmware-catalog"
readme = "README.md"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = [ "poetry-core" ]
[tool.poetry]
authors = [ "Metify Developers <hello@metify.io>" ]
description = "Firmware catalog for the Mojo platform"
name = "firmware-catalog"
packages = []
readme = "README.md"
version = "0.1.0"
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[tool.ruff]
output-format = "grouped"
line-length = 100
target-version = "py311"
extend-exclude = [
".github",
]
[tool.ruff.lint]
select = [
"B", # bugbear: https://beta.ruff.rs/docs/rules/#flake8-bugbear-b
"DJ", # django: https://beta.ruff.rs/docs/rules/#flake8-django-dj
"E", # errors: https://beta.ruff.rs/docs/rules/#error-e
"F", # pyflakes: https://beta.ruff.rs/docs/rules/#pyflakes-f
"I", # isort: https://beta.ruff.rs/docs/rules/#isort-i
"N", # naming: https://beta.ruff.rs/docs/rules/#pep8-naming-n
"PL", # pylint: https://beta.ruff.rs/docs/rules/#pylint-pl
"PTH", # pathlib: https://beta.ruff.rs/docs/rules/#flake8-use-pathlib-pth
"TCH", # typechecking: https://docs.astral.sh/ruff/rules/#flake8-type-checking-tch
"Q", # quotes: https://beta.ruff.rs/docs/rules/#flake8-quotes-q
"T10", # debugger: https://beta.ruff.rs/docs/rules/#flake8-debugger-t10
"T20", # print: https://beta.ruff.rs/docs/rules/#flake8-print-t20
"W", # warnings: https://beta.ruff.rs/docs/rules/#warning-w
]
ignore = [
"E501", # Line too long to avoid triggering on comments
]
[tool.ruff.lint.isort]
force-sort-within-sections = true
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
docstring-code-line-length = 80
[tool.poetry.dependencies]
python = "^3.11"
pyyaml = "^6.0.1"
requests = "^2.31.0"
[tool.poetry.group.dev.dependencies]
poetry-plugin-export = "^1.8.0"
pytest = "^7.4.0"
pytest-sugar = "^0.9.7"
ruff = "^0.4.0"
pytest-dotenv = "^0.5.2"