Skip to content

Commit

Permalink
Move coverage configurations to pyproject.toml (#3858)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnhyperion committed Sep 3, 2023
1 parent 47676bf commit 58f1bf6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
9 changes: 0 additions & 9 deletions .coveragerc

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -62,7 +62,7 @@ jobs:
if:
github.repository == 'psf/black' && matrix.os == 'ubuntu-latest' &&
!startsWith(matrix.python-version, 'pypy')
uses: AndreMiras/coveralls-python-action@v20201129
uses: AndreMiras/coveralls-python-action@8799c9f4443ac4201d2e2f2c725d577174683b99
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
Expand All @@ -77,7 +77,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Send finished signal to Coveralls
uses: AndreMiras/coveralls-python-action@v20201129
uses: AndreMiras/coveralls-python-action@8799c9f4443ac4201d2e2f2c725d577174683b99
with:
parallel-finished: true
debug: true
Expand Down
9 changes: 9 additions & 0 deletions pyproject.toml
Expand Up @@ -210,3 +210,12 @@ filterwarnings = [
# Work around https://github.com/pytest-dev/pytest/issues/10977 for Python 3.12
'''ignore:(Attribute s|Attribute n|ast.Str|ast.Bytes|ast.NameConstant|ast.Num) is deprecated and will be removed in Python 3.14:DeprecationWarning'''
]
[tool.coverage.report]
omit = [
"src/blib2to3/*",
"tests/data/*",
"*/site-packages/*",
".tox/*"
]
[tool.coverage.run]
relative_files = true

0 comments on commit 58f1bf6

Please sign in to comment.