PyPSA / pypsa-usa

PyPSA-USA: An Open-Source Energy System Optimization Model for the United States
https://pypsa-usa.readthedocs.io
MIT License
35 stars 15 forks source link

Fix pre-commit file #269

Closed trevorb1 closed 2 months ago

trevorb1 commented 2 months ago

Closes #268

Changes proposed in this Pull Request

In this PR I have finished setting up pre-commit to actually perform our formatting/linting! Fixes include:

Checklist

trevorb1 commented 2 months ago

@ktehranchi; this update will change quite a few files, but mainly just the import statements. If you have a large PR you are working on, can you please check if this will slot in okay before I merge it? Just want to try to avoid merge conflicts! :)

Maybe the easiest way to do this will be (but this is def just a guess):

Or the other options: