Skip to content

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

@LorhanSohaky

Description

@LorhanSohaky

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/[email protected]
        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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions