diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 265e700c..261c4e97 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,8 @@ jobs: run: tox --conf tox.ini - name: Upload code coverage - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: file: ./coverage.xml fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e1cd735e..f902557b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -61,7 +61,8 @@ repos: # Conflicts with PEP8 and black: # W503 line break before binary operator # Does not recognize deprecated directive in docstrings - "--ignore=E203,RST303, W503", + "--ignore=E203,RST303,W503", + "--builtins-allowed-modules=csv,io,types", "--rst-roles=class,func,ref,mod,meth,const", ]