cloudsci / cloudmetrics

Toolkit for computing 15+ metrics characterising 2D cloud patterns
16 stars 8 forks source link

Setup precommit #38

Closed leifdenby closed 2 years ago

leifdenby commented 2 years ago

Switch to using setup.cfg rather than setup.py since this allows us to more easily define test and dev dependencies. Also, switched to to using pre-commit to make it simpler to run linting before doing git commits. To use install pre-commit (or run python -m pip install ".[dev]") and setup pre-commit with pre-commit install.