Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format Python code with black and isort #87

Merged
merged 3 commits into from
Aug 26, 2022
Merged

Conversation

nsoranzo
Copy link
Collaborator

Also:

  • Add .git-blame-ignore-revs file for better blame view on GitHub
  • Upgrade Python syntax with pyupgrade

See https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view

To use this locally, execute this once:

```
git config blame.ignoreRevsFile .git-blame-ignore-revs
```

and all following `git blame` will skip the revisions indicated in
the file.
using `ack --type=python -f | xargs pyupgrade --py37-plus`
@nsoranzo nsoranzo merged commit 7ce0f06 into bxlab:main Aug 26, 2022
@nsoranzo nsoranzo deleted the black_isort branch August 26, 2022 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant