Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Oct 17, 2024
1 parent 76af4da commit 2277366
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion repo_helper/files/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class ToxConfig(IniConfigurator):
"pytest",
]

def get_setenv(self, prefer_binary: bool = True, setuptools_stdlib=True) -> List[str]:
def get_setenv(self, prefer_binary: bool = True, setuptools_stdlib: bool = True) -> List[str]:
"""
Return environment variables to be set in the testenv.
Expand Down
3 changes: 2 additions & 1 deletion tests/test_cli/test_show.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ def test_requirements_no_pager(
)

assert result.exit_code == 0
py_version = py_version.translate(str.maketrans({char: '_' for char in string.punctuation}))
transmap = str.maketrans({char: '_' for char in string.punctuation})
py_version = py_version.translate(transmap)
result.check_stdout(
advanced_file_regression,
extension=".tree",
Expand Down
3 changes: 2 additions & 1 deletion tests/test_cli/test_show_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ def test_requirements_no_pager(
)

assert result.exit_code == 0
py_version = py_version.translate(str.maketrans({char: '_' for char in string.punctuation}))
transmap = str.maketrans({char: '_' for char in string.punctuation})
py_version = py_version.translate(transmap)
result.check_stdout(
advanced_file_regression,
extension=".tree",
Expand Down

0 comments on commit 2277366

Please sign in to comment.