Skip to content

Commit 7bfa7f4

Browse files
committed
Updates from cookiecutter
1 parent d71e242 commit 7bfa7f4

File tree

5 files changed

+17
-6
lines changed

5 files changed

+17
-6
lines changed

.cookiecutter/cookiecutter.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
"copyright_holder": "Hypothesis",
1313
"public": "yes",
1414
"console_script": "yes",
15+
"__dependabot_interval": "monthly",
1516
"__entry_point": "pip-sync-faster",
1617
"__github_url": "https://github.com/hypothesis/pip-sync-faster",
1718
"__pypi_url": "https://pypi.org/project/pip-sync-faster"
1819
}
19-
}
20+
}

bin/make_template

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
import json
33
import os
44
import sys
5-
from fnmatch import fnmatch
65
from pathlib import Path
7-
from shutil import move
86
from tempfile import TemporaryDirectory
97

108
from cookiecutter.main import cookiecutter

pyproject.toml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,17 @@ ignore = [
2626
# pydocstyle rule D211 "No blank lines allowed before class docstring".
2727
"D203",
2828

29-
# "Multi-line docstring summary should start at the first line", this
30-
# conflicts with another pycodestyle rule "Multi-line docstring summary
31-
# should start at the second line".
29+
# "Multi-line docstring summary should start at the first line"
30+
# and "Multi-line docstring summary should start at the second line".
31+
# These two rules conflict with each other so you have to disable one of them.
32+
# How about we disable them both? PEP 257 says either approach is okay:
33+
#
34+
# > The summary line may be on the same line as the opening quotes or on
35+
# > the next line.
36+
# >
37+
# > https://peps.python.org/pep-0257/#multi-line-docstrings
3238
"D212",
39+
"D213",
3340
]
3441

3542
[tool.coverage.run]

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,9 @@ ignore =
3636
E501, # Line too long,
3737
W503, # Line break before binary operator,
3838

39+
# "Comparison to None should be 'if cond is None:'.
40+
# PyLint finds these so we don't need pycodestyle to.
41+
E711,
42+
3943
# Bare except. PyLint finds these for us so we don't need pycodestyle to.
4044
E722,

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ minversion = 3.25.0
44
requires =
55
tox-run-command
66
tox-envfile
7+
tox-recreate
78
isolated_build = true
89

910
[testenv]

0 commit comments

Comments
 (0)