Skip to content

Commit ddd7bbd

Browse files
committed
Linting.
1 parent d55e7a9 commit ddd7bbd

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

repo_helper/blocks/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -344,11 +344,7 @@ def create_docs_install_block(
344344

345345
conda_channels = DelimitedList(conda_channels or [])
346346

347-
block = StringList([
348-
".. start installation",
349-
"",
350-
f".. installation:: {pypi_name}"
351-
])
347+
block = StringList([".. start installation", '', f".. installation:: {pypi_name}"])
352348

353349
with block.with_indent_size(1):
354350

repo_helper/configuration/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@ def parse_yaml(repo_path: PathLike) -> Dict:
243243
raise FileNotFoundError(f"'repo_helper.yml' not found in {repo_path}")
244244

245245
config_file.write_lines([
246-
line for line in config_file.read_lines() if not re.match("^(use_travis|travis_pypi_secure|travis_site)", line)
246+
line for line in config_file.read_lines()
247+
if not re.match("^(use_travis|travis_pypi_secure|travis_site)", line)
247248
])
248249

249250
parser = RepoHelperParser(allow_unknown_keys=False)

tests/test_files/test_ci_cd.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
make_github_manylinux,
3535
make_github_octocheese
3636
)
37-
38-
3937
from repo_helper.files.old import remove_copy_pypi_2_github, remove_make_conda_recipe
4038

4139

0 commit comments

Comments
 (0)