Skip to content

Commit

Permalink
Fix CI failures: don't turn warnings into errors (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersy005 authored Dec 22, 2021
1 parent c3bc133 commit c1ac33a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 19 deletions.
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

0 comments on commit c1ac33a

Please # to comment.