File tree Expand file tree Collapse file tree 5 files changed +17
-6
lines changed Expand file tree Collapse file tree 5 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 22import json
33import os
44import sys
5- from fnmatch import fnmatch
65from pathlib import Path
7- from shutil import move
86from tempfile import TemporaryDirectory
97
108from cookiecutter .main import cookiecutter
Original file line number Diff line number Diff 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 ]
Original file line number Diff line number Diff 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,
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ minversion = 3.25.0
44requires =
55 tox-run-command
66 tox-envfile
7+ tox-recreate
78isolated_build = true
89
910[testenv]
You can’t perform that action at this time.
0 commit comments