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

Rename B028 to B907, making it optional/opinionated. #333

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

jakkdl
Copy link
Contributor

@jakkdl jakkdl commented Jan 16, 2023

Fixes #329
Fixes #331
Fixes #332

For a certain definition of "fixes" at least, the check could perhaps be improved to make it less opinionated and more useful, but silencing lots of unnecessary warnings is the first step regardless.

jdeamicis added a commit to jdeamicis/aws-parallelcluster-node that referenced this pull request Jan 16, 2023
The B028 check is going to be made optional/opinionated in
flake8-bugbear. See PyCQA/flake8-bugbear#333

Fix color formatting on flake8 style offenses.

Signed-off-by: Jacopo De Amicis <jdamicis@amazon.it>
jdeamicis added a commit to jdeamicis/aws-parallelcluster-cookbook that referenced this pull request Jan 16, 2023
The B028 check is going to be made optional/opinionated in
flake8-bugbear. See PyCQA/flake8-bugbear#333

Fix color formatting on flake8 style offenses.

Signed-off-by: Jacopo De Amicis <jdamicis@amazon.it>
jdeamicis added a commit to jdeamicis/aws-parallelcluster that referenced this pull request Jan 16, 2023
The B028 check is going to be made optional/opinionated in
flake8-bugbear. See PyCQA/flake8-bugbear#333

Fix color formatting on flake8 style offenses.

Signed-off-by: Jacopo De Amicis <jdamicis@amazon.it>
README.rst Outdated Show resolved Hide resolved
Copy link
Collaborator

@cooperlees cooperlees left a comment

Choose a reason for hiding this comment

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

Thanks for this. This is one I'm 50/50 on too. Please fix the README and I'll merge and ship asap.

README.rst Outdated Show resolved Hide resolved
lukeseawalker added a commit to lukeseawalker/aws-parallelcluster-cookbook that referenced this pull request Jan 17, 2023
This to solve check flake8 B017

Also disable B028 flake8-bugbear lint check recently implemented.
The check is going to be disabled by the flake8-bugbear developers. See Rename B028 to B907, making it optional/opinionated. PyCQA/flake8-bugbear#333

Signed-off-by: Luca Carrogu <carrogu@amazon.com>
lukeseawalker added a commit to lukeseawalker/aws-parallelcluster-cookbook that referenced this pull request Jan 17, 2023
This to solve check flake8 B017

Also disable B028 flake8-bugbear lint check recently implemented.
The check is going to be disabled by the flake8-bugbear developers. See Rename B028 to B907, making it optional/opinionated. PyCQA/flake8-bugbear#333

Signed-off-by: Luca Carrogu <carrogu@amazon.com>
lukeseawalker added a commit to lukeseawalker/aws-parallelcluster-cookbook that referenced this pull request Jan 17, 2023
This to solve check flake8 B017

Also disable B028 flake8-bugbear lint check recently implemented.
The check is going to be disabled by the flake8-bugbear developers. See Rename B028 to B907, making it optional/opinionated. PyCQA/flake8-bugbear#333

Fix color formatting on flake8 style offenses.

Signed-off-by: Luca Carrogu <carrogu@amazon.com>
francesco-giordano pushed a commit to aws/aws-parallelcluster-cookbook that referenced this pull request Jan 17, 2023
This to solve check flake8 B017

Also disable B028 flake8-bugbear lint check recently implemented.
The check is going to be disabled by the flake8-bugbear developers. See Rename B028 to B907, making it optional/opinionated. PyCQA/flake8-bugbear#333

Fix color formatting on flake8 style offenses.

Signed-off-by: Luca Carrogu <carrogu@amazon.com>
@jakkdl
Copy link
Contributor Author

jakkdl commented Jan 17, 2023

Fixed the location, so you can ship it straight away.

Copy link
Collaborator

@cooperlees cooperlees left a comment

Choose a reason for hiding this comment

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

LGTM - Thanks! Seems popular people want this.

@cooperlees cooperlees merged commit 91188aa into PyCQA:main Jan 18, 2023
jdeamicis added a commit to jdeamicis/aws-parallelcluster that referenced this pull request Jan 18, 2023
The B028 check is going to be made optional/opinionated in
flake8-bugbear. See PyCQA/flake8-bugbear#333

Fix color formatting on flake8 style offenses.

Signed-off-by: Jacopo De Amicis <jdamicis@amazon.it>
jdeamicis added a commit to aws/aws-parallelcluster that referenced this pull request Jan 18, 2023
The B028 check is going to be made optional/opinionated in
flake8-bugbear. See PyCQA/flake8-bugbear#333

Fix color formatting on flake8 style offenses.

Signed-off-by: Jacopo De Amicis <jdamicis@amazon.it>
jdeamicis added a commit to jdeamicis/aws-parallelcluster-node that referenced this pull request Feb 1, 2023
The B028 check is going to be made optional/opinionated in
flake8-bugbear. See PyCQA/flake8-bugbear#333

Fix color formatting on flake8 style offenses.

Signed-off-by: Jacopo De Amicis <jdamicis@amazon.it>
enrico-usai pushed a commit to enrico-usai/aws-parallelcluster-cookbook that referenced this pull request Feb 2, 2023
This to solve check flake8 B017

Also disable B028 flake8-bugbear lint check recently implemented.
The check is going to be disabled by the flake8-bugbear developers. See Rename B028 to B907, making it optional/opinionated. PyCQA/flake8-bugbear#333

Fix color formatting on flake8 style offenses.

Signed-off-by: Luca Carrogu <carrogu@amazon.com>
tobiasjj added a commit to lumicks/pylake that referenced this pull request May 8, 2023
tobiasjj added a commit to lumicks/pylake that referenced this pull request May 8, 2023
JoepVanlier pushed a commit to lumicks/pylake that referenced this pull request Aug 4, 2023
JoepVanlier pushed a commit to lumicks/pylake that referenced this pull request Aug 4, 2023
JoepVanlier pushed a commit to lumicks/pylake that referenced this pull request Aug 7, 2023
JoepVanlier pushed a commit to lumicks/pylake that referenced this pull request Aug 8, 2023
JoepVanlier pushed a commit to lumicks/pylake that referenced this pull request Aug 8, 2023
JoepVanlier pushed a commit to lumicks/pylake that referenced this pull request Aug 11, 2023
JoepVanlier pushed a commit to lumicks/pylake that referenced this pull request Aug 14, 2023
JoepVanlier pushed a commit to lumicks/pylake that referenced this pull request Aug 15, 2023
JoepVanlier pushed a commit to lumicks/pylake that referenced this pull request Mar 4, 2024
JoepVanlier pushed a commit to lumicks/pylake that referenced this pull request Mar 4, 2024
JoepVanlier pushed a commit to lumicks/pylake that referenced this pull request Mar 4, 2024
JoepVanlier pushed a commit to lumicks/pylake that referenced this pull request Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants