Skip to content

Commit

Permalink
ingesting style check configs
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcfee committed Mar 20, 2024
1 parent c2a9f59 commit b630f20
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,14 @@ jobs:
shell: bash -l {0}
run: pytest
working-directory: tests

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
flags: unittests
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: true
verbose: true
14 changes: 14 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
[tool:pytest]
addopts = --cov-report term-missing --cov mir_eval --cov-report=xml

[pydocstyle]
# convention = numpy
# Below is equivalent to numpy convention + D400 and D205
ignore = D107,D203,D205,D212,D213,D400,D402,D413,D415,D416,D417

[flake8]
count = True
statistics = True
show_source = True
select =
E9,
F63,
F7,
F82

[metadata]
name = mir_eval
Expand Down

0 comments on commit b630f20

Please sign in to comment.