Skip to content

Commit b630f20

Browse files
committed
ingesting style check configs
1 parent c2a9f59 commit b630f20

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/test.yml

+11
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,14 @@ jobs:
7575
shell: bash -l {0}
7676
run: pytest
7777
working-directory: tests
78+
79+
- name: Upload coverage to Codecov
80+
uses: codecov/codecov-action@v4
81+
with:
82+
token: ${{ secrets.CODECOV_TOKEN }}
83+
files: ./coverage.xml
84+
flags: unittests
85+
env_vars: OS,PYTHON
86+
name: codecov-umbrella
87+
fail_ci_if_error: true
88+
verbose: true

setup.cfg

+14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
[tool:pytest]
22
addopts = --cov-report term-missing --cov mir_eval --cov-report=xml
33

4+
[pydocstyle]
5+
# convention = numpy
6+
# Below is equivalent to numpy convention + D400 and D205
7+
ignore = D107,D203,D205,D212,D213,D400,D402,D413,D415,D416,D417
8+
9+
[flake8]
10+
count = True
11+
statistics = True
12+
show_source = True
13+
select =
14+
E9,
15+
F63,
16+
F7,
17+
F82
418

519
[metadata]
620
name = mir_eval

0 commit comments

Comments
 (0)