Skip to content

Commit edcbda3

Browse files
authored
Fix codecov (#4)
* 📝 - Update README * 🔧 - Update coverate conf * 💚 - Fix CI * 💚 - Fix CI * 💚 - Fix CI
1 parent d45725b commit edcbda3

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
poetry run mypy -p flake8_force_keyword_arguments
3333
- name: Test with pytest
3434
run: |
35-
poetry run pytest tests --cov=./flake8_force_keyword_arguments --cov-report=xml
35+
poetry run pytest tests --cov flake8_force_keyword_arguments --cov-config pyproject.toml --cov-report xml
3636
- name: "Upload coverage to Codecov"
3737
uses: codecov/codecov-action@v2
3838
with:

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# flake8-force-keyword-arguments
22

3-
[![PyPI](https://img.shields.io/pypi/v/flake8-force-keyword-arguments?label=pypi&logo=python&style=flat-square)](https://pypi.org/project/flake8-force-keyword-arguments/)
3+
[![PyPI](https://img.shields.io/pypi/v/flake8-force-keyword-arguments?label=pypi&logo=pypi&style=flat-square)](https://pypi.org/project/flake8-force-keyword-arguments/)
4+
[![PyPI - Wheel](https://img.shields.io/pypi/wheel/flake8-force-keyword-arguments?style=flat-square&logo=pypi)](https://pypi.org/project/flake8-force-keyword-arguments/)
45
[![Python Version](https://img.shields.io/pypi/pyversions/flake8-force-keyword-arguments.svg?style=flat-square&logo=python)](https://pypi.org/project/flake8-force-keyword-arguments/)
6+
[![PyPI - Implementation](https://img.shields.io/pypi/implementation/flake8-force-keyword-arguments?style=flat-square&logo=python)]((https://pypi.org/project/flake8-force-keyword-arguments/))
57
![Codecov](https://img.shields.io/codecov/c/gh/isac322/flake8-force-keyword-arguments?style=flat-square&logo=codecov)
68
![GitHub last commit (branch)](https://img.shields.io/github/last-commit/isac322/flake8-force-keyword-arguments/master?logo=github&style=flat-square)
79
![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/isac322/flake8-force-keyword-arguments/CI/master?logo=github&style=flat-square)

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,13 @@ module = [
9595
"marisa_trie"
9696
]
9797
ignore_missing_imports = true
98+
99+
100+
[tool.coverage.run]
101+
omit = ['*/__init__.py']
102+
103+
#[tool.coverage.paths]
104+
#source = ['flake8_force_keyword_arguments']
105+
106+
[tool.coverage.report]
107+
exclude_lines = ['pragma: no cover']

0 commit comments

Comments
 (0)