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

remove --flake8 from make test #56

Merged
merged 1 commit into from
Sep 27, 2022
Merged

Conversation

WrRan
Copy link
Contributor

@WrRan WrRan commented Sep 26, 2022

For now, make test produces the error as followings:

ERROR: usage: main.py [options] [file_or_dir] [file_or_dir] [...] main.py: error: unrecognized arguments: --flake8

Removing --flake8 can fix the error, just as with https://github.com/Lightning-AI/lightning/blob/master/Makefile#L39

Before submitting

  • Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

What does this PR do?

Fixes # (issue).

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 😄

For now, `make test` produces the error as followings:

ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: unrecognized arguments: --flake8

Removing `--flake8` can fix the error, just as with https://github.com/Lightning-AI/lightning/blob/master/Makefile#L39
Copy link
Contributor

@carmocca carmocca left a comment

Choose a reason for hiding this comment

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

LGTM. We use pre-commit to check flake8 compliance.

@carmocca carmocca added the ci/cd Continuous integration and delivery label Sep 27, 2022
@carmocca carmocca enabled auto-merge (squash) September 27, 2022 12:14
@carmocca carmocca merged commit f7303d4 into Lightning-AI:main Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd Continuous integration and delivery
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants