pdreker / fritz_exporter

Prometheus exporter for Fritz!Box home routers
Other
144 stars 32 forks source link

Refactor/linting with ruff #270

Closed pdreker closed 6 months ago

pdreker commented 6 months ago

Try using "ruff" for linting/formatting. Uses a lot more rules, whioch in turn requires some refactoring - non functional changes.

Actually this uncovered that FritzCapabilities was using a parameter it never needed. :-)

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

2 New issues
0 Security Hotspots
98.1% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud