earthaccess
earthaccess copied to clipboard
Extend ruff formatting/linting rulesets
We might want to consider extending our ruff linting to cover:
- [ ] "UP": pyupgrade and pyupgrade settings
- [ ] "D": pydocstyle and pydocstyle settings
- [ ] "ANN": flake8-annotations and flake8-annotations settings
- [ ] "PTH": flake8-use-pathlib (#319)
- [ ] include Jupyter notebooks
suggested here: https://github.com/nsidc/earthaccess/pull/372#discussion_r1410264309 by @jhkennedy and supported by @mfisher87
PyUpgrade is one of my favorite rulesets, but we'll need to set it up with target-version of 3.8 to avoid upgrading our code out of compatibility with our target Pythons :)