Skip to content

Commit

Permalink
Pylama was broke and not actually executing pycodestyle (#1850)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers committed Feb 17, 2023
1 parent 9606c6e commit 22ae327
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion napalm/eos/eos.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ def _load_config(self, filename=None, config=None, replace=True):
return None

try:
if not any(l == "end" for l in commands):
if not any(cmd == "end" for cmd in commands):
commands.append("end") # exit config mode
if self.eos_autoComplete is not None:
self._run_commands(
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ universal = 1
license_file = LICENSE

[pylama]
linters = mccabe,pep8,pyflakes
linters = mccabe,pycodestyle,pyflakes
ignore = D203,C901,E203
skip = .tox/*,.env/*,.venv/*

[pylama:pep8]
[pylama:pycodestyle]
max_line_length = 100

[tool:pytest]
Expand Down

0 comments on commit 22ae327

Please sign in to comment.