Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix CI failures: don't turn warnings into errors #429

Merged
merged 2 commits into from
Dec 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

- name: Run Tests
run: |
python -m pytest -n auto --cov=./ --cov-report=xml --verbose
python -m pytest

- name: Upload code coverage to Codecov
uses: codecov/codecov-action@v2.1.0
Expand Down Expand Up @@ -99,4 +99,4 @@ jobs:

- name: Run Tests
run: |
python -m pytest -n auto --cov=./ --cov-report=xml --verbose
python -m pytest
17 changes: 0 additions & 17 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,5 @@ line-length = 100
target-version = ['py38']
skip-string-normalization = true

[tool.nbqa.mutate]
isort = 1
pyupgrade = 1

[tool.nbqa.addopts]
pyupgrade = ["--py36-plus"]

[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]


# pyproject.toml
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore::UserWarning",
# note the use of single quote below to denote "raw" strings in TOML
'ignore:function ham\(\) is deprecated:DeprecationWarning',
]
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ line_length=100
skip=
docs/source/conf.py
setup.py

[tool:pytest]
console_output_style = count
addopts = -n auto --cov=./ --cov-report=xml --verbose