Skip to content

Commit

Permalink
fixed lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-ht committed May 30, 2022
1 parent 73ec4fb commit b29fa74
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion coverage/files.py
Expand Up @@ -406,7 +406,7 @@ def find_python_files(dirname, include_namespace_packages):
"""
for i, (dirpath, dirnames, filenames) in enumerate(os.walk(dirname)):
if (i > 0 and '__init__.py' not in filenames
if (i > 0 and '__init__.py' not in filenames
and not include_namespace_packages):
# If a directory doesn't have __init__.py, then it isn't
# importable and neither are its files
Expand Down
2 changes: 1 addition & 1 deletion coverage/inorout.py
Expand Up @@ -567,7 +567,7 @@ def _find_executable_files(self, src_dir):
"""
py_files = (
(py_file, None) for py_file in
(py_file, None) for py_file in
find_python_files(src_dir, self.include_namespace_packages)
)
plugin_files = self._find_plugin_files(src_dir)
Expand Down
4 changes: 2 additions & 2 deletions tests/test_cmdline.py
Expand Up @@ -61,8 +61,8 @@ class BaseCmdLineTest(CoverageTest):
_defaults.Coverage(
data_file=DEFAULT_DATAFILE,
cover_pylib=None, data_suffix=None, timid=None, branch=None,
config_file=True, source=None, include=None, include_namespace_packages=False,
omit=None, debug=None, concurrency=None, check_preimported=True, context=None,
config_file=True, source=None, include=None, include_namespace_packages=False,
omit=None, debug=None, concurrency=None, check_preimported=True, context=None,
messages=True,
)

Expand Down

0 comments on commit b29fa74

Please sign in to comment.