8000 Update flake8 to 3.8.*, and apply new lints by mythmon · Pull Request #2279 · mozilla/normandy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Update flake8 to 3.8.*, and apply new lints #2279

Merged
merged 1 commit into from
Oct 27, 2020
Merged

Update flake8 to 3.8.*, and apply new lints #2279

merged 1 commit into from
Oct 27, 2020

Conversation

mythmon
Copy link
Contributor
@mythmon mythmon commented Oct 26, 2020

Poetry will allow any versions with semver specifers to flex during package updates, which is good for libraries that follow semver. Apparently flake8 does not. As well as updating flake8 to a new minor version, this adapts our code to two apparently new lints in flake8 3.8:

  • l is no longer an allowable variable name, because it is ambiguous with I and 1
  • f-strings must have placeholders

Poetry will allow any versions with semver specifers to flex during package
updates, which is good for libraries that follow semver. Apparently flake8
does not. As well as updating flake8 to a new minor version, this adapts our
code to two apparently new lints in flake8 3.8:

- `l` is no longer an allowable variable name, because it is ambiguous with I and 1
- f-strings must have placeholders
Copy link
Contributor
@rehandalal rehandalal left a comment

Choose a reason for hiding this comment

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

bors r+

bors bot added a commit that referenced this pull request Oct 26, 2020
2279: Update flake8 to 3.8.*, and apply new lints r=rehandalal a=mythmon

Poetry will allow any versions with semver specifers to flex during package updates, which is good for libraries that follow semver. Apparently flake8 does not. As well as updating flake8 to a new minor version, this adapts our code to two apparently new lints in flake8 3.8:

- `l` is no longer an allowable variable name, because it is ambiguous with I and 1
- f-strings must have placeholders


Co-authored-by: Mike Cooper <mythmon@gmail.com>
@bors
Copy link
Contributor
bors bot commented Oct 26, 2020

Build failed:

@rehandalal
Copy link
Contributor

bors retry

@bors
Copy link
Contributor
bors bot commented Oct 27, 2020

@bors bors bot merged commit 0fef5ba into master Oct 27, 2020
@bors bors bot deleted the update-flake8 branch October 27, 2020 11:22
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
0