MatthewFlamm / pynws

⛈️ A python library to asynchronously retrieve weather observation from NWS/NOAA
MIT License
33 stars 10 forks source link

Use ruff for linting #181

Closed lymanepp closed 7 months ago

lymanepp commented 7 months ago

HA transitioned to ruff a while ago. It's much faster than pylint and also has black and isort capabilities

MatthewFlamm commented 7 months ago

Should this be in pre-commit?

lymanepp commented 7 months ago

Should this be in pre-commit?

Done

MatthewFlamm commented 7 months ago

I'm +1 for this, the pre-commit is being run against all files while the test is being run only against pynws.

A bunch of failures in setup.py. We should ignore these as my plan is to move to setuptoole_scm and configuration in pyproject.toml.

lymanepp commented 7 months ago

A bunch of failures in setup.py. We should ignore these...

These have been fixed.