pylint to pyproject and git workflows

This commit is contained in:
Kirill Markin 2024-12-17 15:16:03 +01:00
parent 62e6daf19c
commit 17c7bb76e8
No known key found for this signature in database
GPG key ID: 03AB9530E15B9C1C
3 changed files with 10 additions and 1 deletions

View file

@ -28,6 +28,9 @@ jobs:
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install .[dev] pip install .[dev]
- name: Run pylint
run: |
pylint repo_to_text
- name: Run tests - name: Run tests
run: | run: |
pytest tests/ pytest tests/

View file

@ -180,7 +180,7 @@ To install `repo-to-text` locally for development, follow these steps:
2. Install the package with development dependencies: 2. Install the package with development dependencies:
```bash ```bash
pip install -e .[dev] pip install -e ".[dev]"
``` ```
### Requirements ### Requirements

View file

@ -41,4 +41,10 @@ dev = [
"isort", "isort",
"build", "build",
"twine", "twine",
"pylint",
]
[tool.pylint]
disable = [
"C0303",
] ]