Skip to content

Commit cca3ead

Browse files
Merge .pylintrc and .coveragerc into pyproject.toml (#44)
1 parent 95b9105 commit cca3ead

File tree

7 files changed

+652
-692
lines changed

7 files changed

+652
-692
lines changed

.coveragerc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/_codecov.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,13 @@ jobs:
4040
python-version: ${{ inputs.python-version }}
4141

4242
- name: Install dependencies
43-
run: |
44-
python -m pip install --upgrade pip
43+
run: python -m pip install --upgrade pip
4544

4645
- name: Install package
4746
run: python -m pip install ".[dev]"
4847

4948
- name: Generate coverage report
50-
run: |
51-
pytest --cov --cov-report=xml
49+
run: pytest --cov --cov-report=xml
5250

5351
- name: Upload coverage to Codecov
5452
uses: codecov/codecov-action@v3

.pre-commit-config.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ repos:
3838
rev: 5.12.0
3939
hooks:
4040
- id: isort
41-
args: ["--profile", "black"] # solves conflicts between black and isort
41+
args: ["--profile=black"] # solves conflicts between black and isort
4242
- repo: https://github.com/pycqa/flake8
4343
rev: 6.0.0
4444
hooks:
@@ -51,10 +51,9 @@ repos:
5151
name: pylint
5252
types: [python]
5353
exclude: ^examples/|^tests/|^setup.py$
54-
args: ["--rcfile=.pylintrc"]
54+
args: ["--rcfile=pyproject.toml"]
5555
- repo: https://github.com/pre-commit/mirrors-prettier
56-
rev: v2.7.1
56+
rev: v3.0.1
5757
hooks:
5858
- id: prettier
59-
6059
exclude: (\.ipynb$)

0 commit comments

Comments
 (0)