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

Flake8 black changes #803

Closed
wants to merge 2 commits into from
Closed

Conversation

marksmayo
Copy link

Ran the black formatter over the codebase. There are some wins here in that it fixes a lot of style issues, tidies imports and consistently lays out the codebase.

Ideally this could be added to github actions or pre_commit.

All tests were re-run and no additional failures identified.

 - removed unnecessary inheritance from object
 - removed unnecessary u prefix for strings
 - sorted some imports
- converted strings into f-strings
- simplified a conditional
A simple way of consistently tidying the codebase.
@mykola-mokhnach
Copy link
Contributor

black formatting is already applied to the codebase
I don't see any reason in changing single quote to double quotes, for example

@KazuCocoa
Copy link
Member

python -m black $(ARGS) . -l 120 -S
is current our back command, so this is not necessary. Thanks anyway :)

@KazuCocoa KazuCocoa closed this Dec 13, 2022
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

3 participants