Skip to content
Snippets Groups Projects
Commit d8268714 authored by KERDREUX Jerome's avatar KERDREUX Jerome
Browse files

Enforce ruff and black to use the right formating

parent 760d62e4
No related branches found
No related tags found
1 merge request!1First try of type hints
Showing
with 172 additions and 2 deletions
......@@ -18,3 +18,14 @@ include = ["xaal.knx"]
Homepage = "https://recherche.imt-atlantique.fr/xaal/"
Documentation = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/entry/code/Python/branches/0.7/devices/protocols/KNX/README.rst"
Source = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/show/code/Python/branches/0.7/devices/protocols/KNX"
[tool.ruff]
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 122
skip-string-normalization = true
......@@ -18,3 +18,14 @@ include = ["xaal.meross"]
Homepage = "https://recherche.imt-atlantique.fr/xaal/"
Documentation = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/entry/code/Python/branches/0.7/devices/protocols/Meross/README.rst"
Source = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/show/code/Python/branches/0.7/devices/protocols/Meross"
[tool.ruff]
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 122
skip-string-normalization = true
......@@ -17,3 +17,14 @@ include = ["xaal.netatmo"]
Homepage = "https://recherche.imt-atlantique.fr/xaal/"
Documentation = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/entry/code/Python/branches/0.7/devices/protocols/Netatmo/README.rst"
Source = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/show/code/Python/branches/0.7/devices/protocols/Netatmo"
[tool.ruff]
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 122
skip-string-normalization = true
......@@ -18,3 +18,14 @@ include = ["xaal.sensfloor"]
Homepage = "https://recherche.imt-atlantique.fr/xaal/"
Documentation = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/entry/code/Python/branches/0.7/devices/protocols/SensFloor/README.rst"
Source = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/show/code/Python/branches/0.7/devices/protocols/SensFloor"
[tool.ruff]
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 122
skip-string-normalization = true
......@@ -18,3 +18,14 @@ include = ["xaal.tuya"]
Homepage = "https://recherche.imt-atlantique.fr/xaal/"
Documentation = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/entry/code/Python/branches/0.7/devices/protocols/Tuya/README.rst"
Source = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/show/code/Python/branches/0.7/devices/protocols/Tuya"
[tool.ruff]
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 122
skip-string-normalization = true
......@@ -18,3 +18,14 @@ include = ["xaal.yeelight"]
Homepage = "https://recherche.imt-atlantique.fr/xaal/"
Documentation = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/entry/code/Python/branches/0.7/devices/protocols/Yeelight/README.rst"
Source = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/show/code/Python/branches/0.7/devices/protocols/Yeelight"
[tool.ruff]
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 122
skip-string-normalization = true
......@@ -18,3 +18,14 @@ include = ["xaal.zwave"]
Homepage = "https://recherche.imt-atlantique.fr/xaal/"
Documentation = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/entry/code/Python/branches/0.7/devices/protocols/ZWave/README.rst"
Source = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/show/code/Python/branches/0.7/devices/protocols/ZWave"
[tool.ruff]
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 122
skip-string-normalization = true
......@@ -18,3 +18,14 @@ include = ["xaal.bugone"]
Homepage = "https://recherche.imt-atlantique.fr/xaal/"
Documentation = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/entry/code/Python/branches/0.7/devices/protocols/bugOne/README.rst"
Source = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/show/code/Python/branches/0.7/devices/protocols/bugOne"
[tool.ruff]
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 122
skip-string-normalization = true
......@@ -18,3 +18,14 @@ include = ["xaal.htu21d"]
Homepage = "https://recherche.imt-atlantique.fr/xaal/"
Documentation = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/entry/code/Python/branches/0.7/devices/sensors/HTU21D/README.rst"
Source = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/show/code/Python/branches/0.7/devices/sensors/HTU21D"
[tool.ruff]
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 122
skip-string-normalization = true
......@@ -18,3 +18,14 @@ include = ["xaal.lmsensors"]
Homepage = "https://recherche.imt-atlantique.fr/xaal/"
Documentation = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/entry/code/Python/branches/0.7/devices/sensors/lm_sensors/README.rst"
Source = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/show/code/Python/branches/0.7/devices/sensors/lm_sensors"
[tool.ruff]
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 122
skip-string-normalization = true
......@@ -18,3 +18,14 @@ include = ["xaal.dummy"]
Homepage = "https://recherche.imt-atlantique.fr/xaal/"
Documentation = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/entry/code/Python/branches/0.7/devices/tests/dummy/README.rst"
Source = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/show/code/Python/branches/0.7/devices/tests/dummy"
[tool.ruff]
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 122
skip-string-normalization = true
......@@ -25,3 +25,14 @@ include = ["xaal.fakeinput"]
Homepage = "https://recherche.imt-atlantique.fr/xaal/"
Documentation = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/entry/code/Python/branches/0.7/devices/tests/fakeinput/README.rst"
Source = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/show/code/Python/branches/0.7/devices/tests/fakeinput"
[tool.ruff]
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 122
skip-string-normalization = true
......@@ -17,3 +17,14 @@ dependencies = ["xaal.lib", "xaal.schemas", "pyowm==2.10.0"]
[tool.setuptools.packages.find]
include = ["xaal.owm"]
[tool.ruff]
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 122
skip-string-normalization = true
......@@ -30,8 +30,13 @@ Homepage = "https://recherche.imt-atlantique.fr/xaal/"
Documentation = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/entry/code/Python/branches/0.7/libs/lib/README.rst"
Source = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/show/code/Python/branches/0.7/libs/lib"
[tool.ruff]
line-length = 120
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 120
line-length = 122
skip-string-normalization = true
......@@ -19,3 +19,14 @@ dependencies = ['xaal.lib']
Homepage = "https://recherche.imt-atlantique.fr/xaal/"
Documentation = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/entry/code/Python/branches/0.7/libs/monitor/README.rst"
Source = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/show/code/Python/branches/0.7/libs/monitor"
[tool.ruff]
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 122
skip-string-normalization = true
......@@ -20,3 +20,14 @@ dependencies = ['xaal.lib']
Homepage = "https://recherche.imt-atlantique.fr/xaal/"
Documentation = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/entry/code/Python/branches/0.7/libs/schemas/README.rst"
Source = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/show/code/Python/branches/0.7/libs/schemas"
[tool.ruff]
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 122
skip-string-normalization = true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment