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

Docker example for running the linter does not work #2492

Closed
dashmug opened this issue Sep 12, 2022 · 1 comment · Fixed by #2493
Closed

Docker example for running the linter does not work #2492

dashmug opened this issue Sep 12, 2022 · 1 comment · Fixed by #2493
Labels
bug Something isn't working docker Pull requests that update Docker code

Comments

@dashmug
Copy link

dashmug commented Sep 12, 2022

What's wrong

I was trying to test the wemake-python-styleguide using the docker command to see how it compares with my own linting setup.

$ docker run --rm wemakeservices/wemake-python-styleguide .

resulted into:

Unable to find image 'wemakeservices/wemake-python-styleguide:latest' locally
latest: Pulling from wemakeservices/wemake-python-styleguide
5843afab3874: Pull complete
2dfaacf7024e: Pull complete
2dbba127c6aa: Pull complete
1a467efa2204: Pull complete
728751b4406e: Pull complete
b6c2e1f1bb4c: Pull complete
820fac86edf7: Pull complete
2f68a5740778: Pull complete
2434db522449: Pull complete
4d31acd1acb8: Pull complete
Digest: sha256:7e3f99893f4dd3f31fc2e1d390435688a48199cfd50a5511b34782f4d40fa3a4
Status: Downloaded newer image for wemakeservices/wemake-python-styleguide:latest
Using reporter:
Linting path:
flake8 --version:
3.9.2 (flake8-bandit: 2.1.2, flake8-broken-line: 0.3.0, flake8-bugbear:
21.4.3, flake8-comprehensions: 3.5.0, flake8-darglint: 1.8.0, flake8-debugger:
4.0.0, flake8-docstrings: 1.6.0, pydocstyle: 6.1.1, flake8-eradicate: 1.1.0,
flake8-string-format: 0.3.0, flake8_commas: 2.0.0, flake8_isort: 4.0.0,
flake8_quotes: 3.2.0, mccabe: 0.6.1, naming: 0.11.1, pycodestyle: 2.7.0,
pyflakes: 2.3.1, rst-docstrings: 0.2.3, wemake_python_styleguide: 0.15.3)
CPython 3.9.6 on Linux
=================================

::set-output name=output::Invalid action reporter specified:
=================================

Invalid action reporter specified:
Process failed with the status code: 1

How it should be

I'd expect it to run the linter on my project.

Flake8 version and plugins

N/A. I am using the docker image.

pip information

N/A. I am using the docker image.

OS information

I am using the docker image.

But if it's relevant I am on Darwin 21.6.0 (MacOS 12.5.1).

@dashmug dashmug added the bug Something isn't working label Sep 12, 2022
sobolevn added a commit that referenced this issue Sep 12, 2022
@sobolevn
Copy link
Member

Thanks for the report!

Does #2493 solve your problem?

@sobolevn sobolevn added the docker Pull requests that update Docker code label Sep 12, 2022
sobolevn added a commit that referenced this issue Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docker Pull requests that update Docker code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants