albermax / innvestigate

A toolbox to iNNvestigate neural networks' predictions!
Other
1.25k stars 234 forks source link

Format code #247

Closed adrhill closed 3 years ago

adrhill commented 3 years ago

This PR addresses [SWR 3.1.1]: "Use and enforcement of codings style":

  1. It formats all code using black (used i.a. by pytest, tox, pandas) using defaults.
  2. It formats imports according to PEP 8 using isort with default compatibility settings for black.

No other changes are made to the code. The two formatting steps will be automated and included in CI in a follow-up PR.

adrhill commented 3 years ago

If you run into this PR while using git blame, you might want to use the option --ignore-rev to ignore individual commits:

git blame --ignore-rev 7bd44f4 src/innvestigate/__init__.py