Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Lint with black and isort#22

Merged
jonathangreen merged 3 commits intomainfrom
lint
Oct 18, 2021
Merged

Lint with black and isort#22
jonathangreen merged 3 commits intomainfrom
lint

Conversation

@jonathangreen
Copy link
Member

Similar to ThePalaceProject/library-registry#23 this PR adds a linting step to our CI pipeline. The bulk of this PR is automatic reformatting done by isort and black. The CI changes are all in 603393f.

@jonathangreen jonathangreen requested a review from a team August 30, 2021 20:35
Copy link
Contributor

@tdilauro tdilauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, at least conceptually.

I don't have any experience with the variable/reference syntax I see in the tox.ini, but it looks really convenient.

@jonathangreen
Copy link
Member Author

@tdilauro @vbessonov I'm going to resolve the conflicts on this PR and merge it now that ThePalaceProject/circulation#39 has gone in. Any objections?

- Add flake8, black and isort to our tox configuraion.
- Make black and isort run automatically with tox and
  gh actions workflow.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants