11[build-system ]
2- requires = [" setuptools>=40.8.0" , " wheel" ]
2+ requires = [
3+ " setuptools>=40.8.0" ,
4+ " wheel" ,
5+ ]
36build-backend = " setuptools.build_meta"
47
8+ [project ]
9+ name = " OctoPrint-FirmwareCheck"
10+ version = " 2025.05.14"
11+ description = " Checks for unsafe or broken printer firmwares"
12+ authors = [
13+ { name = " Gina Häußge" , email = " gina@octoprint.org" },
14+ ]
15+ license = " AGPL-3.0-or-later"
16+ requires-python = " >=3.7,<4"
17+ dependencies = []
18+
19+ [project .entry-points ."octoprint .plugin" ]
20+ firmware_check = " octoprint_firmware_check"
21+
22+ [project .urls ]
23+ Homepage = " https://github.com/OctoPrint/OctoPrint-FirmwareCheck"
24+
25+ [project .optional-dependencies ]
26+ develop = [
27+ " go-task-bin" ,
28+ ]
29+
30+ [project .readme ]
31+ file = " README.md"
32+ content-type = " markdown"
33+
34+ [tool .setuptools ]
35+ include-package-data = true
36+ packages = [
37+ " octoprint_firmware_check" ,
38+ ]
39+
540[tool .ruff ]
641exclude = [
7- # standard stuff
842 " .bzr" ,
943 " .direnv" ,
1044 " .eggs" ,
@@ -32,15 +66,20 @@ exclude = [
3266 " site-packages" ,
3367 " venv" ,
3468]
35-
3669line-length = 90
3770indent-width = 4
38-
39- # Assume Python 3.7
4071target-version = " py37"
4172
4273[tool .ruff .lint ]
43- select = [" B" , " C" , " E" , " F" , " I" , " W" , " B9" ]
74+ select = [
75+ " B" ,
76+ " C" ,
77+ " E" ,
78+ " F" ,
79+ " I" ,
80+ " W" ,
81+ " B9" ,
82+ ]
4483ignore = [
4584 " E203" ,
4685 " E231" ,
@@ -53,9 +92,11 @@ ignore = [
5392 " W605" ,
5493 " C901" ,
5594]
56- fixable = [" I" , " C4" , " E" ]
57-
58- # Allow unused variables when underscore-prefixed.
95+ fixable = [
96+ " I" ,
97+ " C4" ,
98+ " E" ,
99+ ]
59100dummy-variable-rgx = " ^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
60101
61102[tool .ruff .lint .isort ]
@@ -68,17 +109,5 @@ quote-style = "double"
68109indent-style = " space"
69110skip-magic-trailing-comma = false
70111line-ending = " lf"
71-
72- # Enable auto-formatting of code examples in docstrings. Markdown,
73- # reStructuredText code/literal blocks and doctests are all supported.
74- #
75- # This is currently disabled by default, but it is planned for this
76- # to be opt-out in the future.
77112docstring-code-format = false
78-
79- # Set the line length limit used when formatting code snippets in
80- # docstrings.
81- #
82- # This only has an effect when the `docstring-code-format` setting is
83- # enabled.
84113docstring-code-line-length = " dynamic"
0 commit comments