Skip to content

Commit 719648f

Browse files
committed
remove .coveragerc and improve README
1 parent c190650 commit 719648f

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

{{cookiecutter.project_slug}}/.coveragerc

Lines changed: 0 additions & 10 deletions
This file was deleted.

{{cookiecutter.project_slug}}/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575

7676
### UML Diagrams
7777

78-
#### Packages
78+
#### Packages and Modules
7979

8080
<a href="https://github.com/{{cookiecutter.github_username}}/{{cookiecutter.project_slug}}/raw/main/docs/uml/diagrams/packages_{{cookiecutter.package_name}}.png">
8181
<img src="https://github.com/{{cookiecutter.github_username}}/{{cookiecutter.project_slug}}/raw/main/docs/uml/diagrams/packages_{{cookiecutter.package_name}}.png" alt="uml-diagram-packages">
@@ -116,7 +116,7 @@ This Project depends on the following projects.
116116
git clone https://github.com/{{cookiecutter.github_username}}/{{cookiecutter.project_slug}}
117117
cd {{cookiecutter.project_slug}}
118118
```
119-
2. Install NPM packages
119+
2. Install Python packages
120120
```sh
121121
poetry install
122122
```

{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ exclude = '''
7171

7272
[tool.pytest.ini_options]
7373
minversion = "6.0"
74-
addopts = "--verbose --color=yes --cov=src --cov-fail-under=100 --cov-report term-missing --doctest-modules"
74+
addopts = "--verbose --color=yes --cov=src --cov-fail-under=100 --cov-report term-missing --doctest-modules --cov-config=setup.cfg"
7575
testpaths = [
7676
"tests",
7777
"src"

{{cookiecutter.project_slug}}/setup.cfg

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,14 @@ exclude =
1919
[flake8:darglint]
2020
strictness = long
2121
docstring_style = google
22+
23+
[report]
24+
exclude_lines =
25+
pragma: no cover
26+
def __repr__
27+
if self.debug:
28+
if settings.DEBUG
29+
raise AssertionError
30+
raise NotImplementedError
31+
if 0:
32+
if __name__ == .__main__.:

0 commit comments

Comments
 (0)