Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

use flake8 on deployment #1286

Merged
merged 6 commits into from
Sep 27, 2021
Merged

Conversation

bmc-msft
Copy link
Contributor

All of the rest of the python codebases within the repo use flake8 as
part of the lint process. This aligns the deployment code with the
practice.

All of the rest of the python codebases within the repo use flake8 as
part of the lint process.  This aligns the deployment code with the
practice.
@bmc-msft bmc-msft linked an issue Sep 27, 2021 that may be closed by this pull request
mypy .
isort --profile black . --check
black . --check
flake8 *.py
Copy link
Member

Choose a reason for hiding this comment

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

Is it important that this arg is *.py and not .?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. flake8 was picking up on the mypy cache and processing all of that content, which isn't intended.

@bmc-msft bmc-msft enabled auto-merge (squash) September 27, 2021 16:01
@bmc-msft bmc-msft merged commit 47bb2ce into microsoft:main Sep 27, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Nov 3, 2021
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.

src/deployment doesn't have the full set of lints
3 participants