diff --git a/.github/workflows/python-coverage.yaml b/.github/workflows/python-coverage.yaml index 7e94a2a..43b6692 100644 --- a/.github/workflows/python-coverage.yaml +++ b/.github/workflows/python-coverage.yaml @@ -40,7 +40,7 @@ jobs: coverage run -m pytest --cov-config=.coveragerc - name: Convert to LCO - run: coverage lcov --cov-config=.coveragerc + run: coverage lcov --rcfile=.coveragerc - name: Upload coverage data to coveralls.io uses: coverallsapp/github-action@v2 diff --git a/.github/workflows/python-lint.yaml b/.github/workflows/python-lint.yaml index 3d524ac..1c03395 100644 --- a/.github/workflows/python-lint.yaml +++ b/.github/workflows/python-lint.yaml @@ -37,8 +37,8 @@ jobs: - name: Run isort linter run: | - isort --check . --skip="debug" --skip="versioneer.py" --skip="tests" --skip="_version.py" + isort --check . - name: Run black linter run: | - black --check . --exclude="versioneer.py|_version.py|debug|tests" + black --check . diff --git a/requirements/DEV_REQUIREMENTS.txt b/requirements/DEV_REQUIREMENTS.txt index beaed1d..905b7a1 100644 --- a/requirements/DEV_REQUIREMENTS.txt +++ b/requirements/DEV_REQUIREMENTS.txt @@ -1,4 +1,5 @@ -black~=23.7 ; python_version >= '3.7' +black~=23.7 ; python_version >= '3.8' +black~=23.3 ; python_version == '3.7' black~=21.4b0 ; python_version == '3.6' # coveralls~=3.3 coverage[toml]~=7.3 ; python_version >= '3.7'