projectmesa / mesa-frames

Extension of mesa for performance and scalability
https://projectmesa.github.io/mesa-frames
Apache License 2.0
14 stars 5 forks source link

ci: Add pre-commit configuration #14

Closed rht closed 4 months ago

adamamer20 commented 4 months ago

Thanks. Shouldn't Black also be added?

adamamer20 commented 4 months ago

Also, related to #15, do you think it would make sense to use tox/nox to ensure maximum compatibility by running tests with multiple python versions?

rht commented 4 months ago

Also, related to https://github.com/adamamer20/mesa-frames/pull/15, do you think it would make sense to use tox/nox to ensure maximum compatibility by running tests with multiple python versions?

The GitHub Actions CI testing (which I will set up after #15 is merged) supports running multiple Python versions declaratively. You can test only 1 version on your local machine, for faster feedback loop, and leave testing multiple versions to the CI.