Skip to content

Commit

Permalink
pycodestyle -> 2.1.0 + fix new style check
Browse files Browse the repository at this point in the history
  • Loading branch information
nchammas committed Nov 14, 2016
1 parent f0351cb commit 9157b25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
8 changes: 4 additions & 4 deletions flintrock/flintrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -1027,13 +1027,13 @@ def set_open_files_limit(desired_limit):
if soft_limit < desired_limit:
if desired_limit > hard_limit:
warnings.warn(
"Flintrock cannot set the open files limit to {l} "
"because the OS hard limit is {h}. Going with {h}. "
"Flintrock cannot set the open files limit to {desired} "
"because the OS hard limit is {hard}. Going with {hard}. "
"You may have problems launching or interacting with "
"really large clusters."
.format(
l=desired_limit,
h=hard_limit),
desired=desired_limit,
hard=hard_limit),
category=RuntimeWarning,
stacklevel=2)
resource.setrlimit(
Expand Down
2 changes: 1 addition & 1 deletion requirements/developer.pip
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-r user.pip
pycodestyle == 2.0.0
pycodestyle == 2.1.0
pytest >= 3.0.3
pytest-cov >= 2.4.0
# PyYAML # requirement already covered by setup.py
5 changes: 1 addition & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# [pycodestyle]
# Need to stick to [pep8] for now due to bug in pycodestyle.
# See: https://github.com/PyCQA/pycodestyle/issues/550
[pep8]
[pycodestyle]
max-line-length=100
ignore=E501,E402

Expand Down

0 comments on commit 9157b25

Please sign in to comment.