mirror of
https://github.com/kirill-markin/repo-to-text.git
synced 2025-12-05 19:12:24 -08:00
pylint to pyproject and git workflows
This commit is contained in:
parent
62e6daf19c
commit
17c7bb76e8
3 changed files with 10 additions and 1 deletions
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
|
|
@ -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/
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -41,4 +41,10 @@ dev = [
|
||||||
"isort",
|
"isort",
|
||||||
"build",
|
"build",
|
||||||
"twine",
|
"twine",
|
||||||
|
"pylint",
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.pylint]
|
||||||
|
disable = [
|
||||||
|
"C0303",
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue