Skip to content

Commit d08c9a1

Browse files
committed
Adapt template so new projects do not fail from lint errors
1 parent 94f2964 commit d08c9a1

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

doc/changes/unreleased.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ permissions to be increased for specific jobs.
3737
## Bugfixes
3838

3939
* #428: Fixed detecting report coverage failures
40+
* #434: Adapted template so new projects do not fail from lint errors

project-template/{{cookiecutter.repo_name}}/pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ force_grid_wrap = 2
5151
[tool.pylint.master]
5252
fail-under = 5.0
5353
output-format = "colorized,json:.lint.json,text:.lint.txt"
54+
ignore = [
55+
"noxfile.py",
56+
"noxconfig.py",
57+
"version.py",
58+
]
59+
ignore-paths = [
60+
".*/test/.*",
61+
]
5462

5563
[tool.pylint.format]
5664
max-line-length = 88

0 commit comments

Comments
 (0)