Skip to content

Commit

Permalink
update to pylintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Colangelo committed Dec 10, 2024
1 parent 27f727a commit 3565e5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
11 changes: 0 additions & 11 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ enable =
expression-not-assigned,
confusing-with-statement,
unnecessary-lambda,
assign-to-new-keyword,
redeclared-assigned-name,
pointless-statement,
pointless-string-statement,
Expand Down Expand Up @@ -123,7 +122,6 @@ enable =
invalid-length-returned,
protected-access,
attribute-defined-outside-init,
no-init,
abstract-method,
invalid-overridden-method,
arguments-differ,
Expand Down Expand Up @@ -165,9 +163,7 @@ enable =
### format
# Line length, indentation, whitespace:
bad-indentation,
mixed-indentation,
unnecessary-semicolon,
bad-whitespace,
missing-final-newline,
line-too-long,
mixed-line-endings,
Expand All @@ -187,7 +183,6 @@ enable =
import-self,
preferred-module,
reimported,
relative-import,
deprecated-module,
wildcard-import,
misplaced-future,
Expand Down Expand Up @@ -282,12 +277,6 @@ indent-string = ' '
# black doesn't always obey its own limit. See pyproject.toml.
max-line-length = 100

# List of optional constructs for which whitespace checking is disabled. `dict-
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
# `empty-line` allows space-only lines.
no-space-check =

# Allow the body of a class to be on the same line as the declaration if body
# contains single statement.
single-line-class-stmt = no
Expand Down
4 changes: 2 additions & 2 deletions src/digest/multi_model_selection_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ def set_directory(self, directory: str):
models_loaded += 1
model = onnx.load(filepath, load_external_data=False)
dialog_msg = (
f"Warning: System RAM has exceeded the threshold of {memory_limit_percentage}%. "
"No further models will be loaded. "
"Warning: System RAM has exceeded the threshold of "
f"{memory_limit_percentage}%. No further models will be loaded. "
)
if prompt_user_ram_limit(
sys_ram_percent_limit=memory_limit_percentage,
Expand Down

0 comments on commit 3565e5a

Please sign in to comment.