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

Error: No module named 'pylint-pytest' #15

Open
LorhanSohaky opened this issue Aug 14, 2021 · 2 comments
Open

Error: No module named 'pylint-pytest' #15

LorhanSohaky opened this issue Aug 14, 2021 · 2 comments

Comments

@LorhanSohaky
Copy link

I'm new to Python. I'm trying to set up a script to pass the pylint. I managed to configure the pre-commit, but the CI script had a problem

lint.yml

name: lint
on: [pull_request]
jobs:
  code_style:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: Install requirements
        run: pip install -r requirements.txt
      - uses: ricardochaves/python-lint@v1.4.0
        with:
          use-pycodestyle: false
          use-black: false
          use-mypy: false
          extra-pylint-options: "--errors-only --rcfile .pylintrc"

.pylintrc

[MASTER]
init-hook='import sys; sys.path.append(".")'
load-plugins=pylint_pytest
extension-pkg-whitelist=pydantic
@ricardochaves
Copy link
Owner

Hi @LorhanSohaky.

Could you send me the error, please?

@LorhanSohaky
Copy link
Author

@ricardochaves , here

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants