Ouranosinc / xscen

A climate change scenario-building analysis framework.
https://xscen.readthedocs.io/
Apache License 2.0
17 stars 2 forks source link

Update pre-commit #318

Closed aulemahal closed 9 months ago

aulemahal commented 9 months ago

Pull Request Checklist:

What kind of change does this PR introduce?

Black's update changes the target format specs, so many small typographic changes.

Does this PR introduce a breaking change?

No.

Other information:

Zeitsperre commented 9 months ago

The linter might fail. I'm pushing a fix via cookiecutter!

Edit: Never mind! haha

aulemahal commented 9 months ago

FYI, I note that most of the changes seem to be related to ternary operations.

var = a if cond else b
# becomes
var = (a if cond else b)
aulemahal commented 9 months ago

Haha. Pin in the other PR, pre-commit update here... Git rekt.