Skip to content

Commit 460e79c

Browse files
pylint
1 parent 82bda67 commit 460e79c

File tree

2 files changed

+14
-17
lines changed

2 files changed

+14
-17
lines changed

ClientAdvisor/App/.pylintrc

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,35 @@ ignore=tests ; Ignore the tests folder globally.
44
[MESSAGES CONTROL]
55
disable=
66
invalid-name, # C0103: Ignore naming style errors
7+
line-too-long, # C0301: Ignore long lines
78
missing-function-docstring, # C0116: Ignore missing function docstrings
89
missing-class-docstring, # C0115: Ignore missing class docstrings
910
missing-module-docstring, # C0114: Ignore missing module docstrings
11+
redefined-outer-name, # W0621: Ignore redefined variables warnings
1012
broad-exception-raised, # W0719: Ignore broad exception raised warnings
1113
broad-exception-caught, # W0718: Ignore broad exception caught warnings
1214
too-many-arguments, # R0913: Ignore too many arguments
1315
too-many-locals, # R0914: Ignore too many local variables
1416
too-many-return-statements, # R0911: Ignore too many return statements
15-
too-many-statements, # R0915: Ignore too many statements in a function
1617
too-many-branches, # R0912: Ignore too many branches
18+
unused-argument, # W0613: Ignore unused arguments
1719
unspecified-encoding, # W1514: Ignore unspecified encoding in open()
20+
logging-fstring-interpolation, # W1203: Ignore lazy f-string interpolation
1821
missing-timeout, # W3101: Ignore missing timeout in requests.get
1922
no-else-return, # R1705: Ignore unnecessary 'else' after return
2023
redefined-builtin, # W0622: Ignore redefining built-ins
2124
global-statement, # W0603: Ignore global statement usage
2225
no-name-in-module, # E0611: Ignore unresolved module names
2326
no-member, # E1101: Ignore module has no 'member'
24-
pointless-string-statement, # W0105: Ignore pointless string statements
27+
pointless-string-statement, # W0105: Ignore pointless string statement
2528
unnecessary-comprehension, # R1721: Ignore unnecessary comprehensions
26-
simplifiable-if-expression, # R1719: Ignore simplifiable if expressions
27-
dangerous-default-value, # W0102: Ignore mutable default arguments
28-
consider-using-with, # R1732: Ignore using 'with' for resource management
29+
fixme, # W0511: Ignore TODO comments
2930
too-many-instance-attributes, # R0902: Ignore too many attributes in class
30-
too-many-positional-arguments, # R0917: Ignore too many positional arguments
31-
raise-missing-from, # W0707: Ignore re-raising without 'raise from'
32-
import-outside-toplevel, # C0415: Ignore imports outside top-level
33-
no-value-for-parameter, # E1120: Ignore missing arguments in function calls
31+
too-many-positional-arguments # R0917: Ignore too many positional arguments
3432

3533
[TYPECHECK]
3634
generated-members=get_bearer_token_provider
3735

3836
[FORMAT]
39-
max-module-lines=1700 # Allow modules up to 1700 lines
37+
max-module-lines=1700 # Allow large modules up to 1700 lines
4038
max-line-length=160 # Allow lines up to 160 characters

ResearchAssistant/App/.pylintrc

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,21 @@ ignore=tests ; Ignore the tests folder globally.
44
[MESSAGES CONTROL]
55
disable=
66
invalid-name, # C0103: Ignore naming style errors
7+
line-too-long, # C0301: Ignore long lines
78
missing-function-docstring, # C0116: Ignore missing function docstrings
89
missing-class-docstring, # C0115: Ignore missing class docstrings
910
missing-module-docstring, # C0114: Ignore missing module docstrings
11+
redefined-outer-name, # W0621: Ignore redefined variables warnings
1012
broad-exception-raised, # W0719: Ignore broad exception raised warnings
1113
broad-exception-caught, # W0718: Ignore broad exception caught warnings
1214
too-many-arguments, # R0913: Ignore too many arguments
1315
too-many-locals, # R0914: Ignore too many local variables
1416
too-many-return-statements, # R0911: Ignore too many return statements
1517
too-many-statements, # R0915: Ignore too many statements in a function
1618
too-many-branches, # R0912: Ignore too many branches
19+
unused-argument, # W0613: Ignore unused arguments
1720
unspecified-encoding, # W1514: Ignore unspecified encoding in open()
21+
logging-fstring-interpolation, # W1203: Ignore lazy f-string interpolation
1822
missing-timeout, # W3101: Ignore missing timeout in requests.get
1923
no-else-return, # R1705: Ignore unnecessary 'else' after return
2024
redefined-builtin, # W0622: Ignore redefining built-ins
@@ -25,16 +29,11 @@ disable=
2529
unnecessary-comprehension, # R1721: Ignore unnecessary comprehensions
2630
simplifiable-if-expression, # R1719: Ignore simplifiable if expressions
2731
dangerous-default-value, # W0102: Ignore mutable default arguments
28-
consider-using-with, # R1732: Ignore using 'with' for resource management
29-
too-many-instance-attributes, # R0902: Ignore too many attributes in class
30-
too-many-positional-arguments, # R0917: Ignore too many positional arguments
31-
raise-missing-from, # W0707: Ignore re-raising without 'raise from'
32-
import-outside-toplevel, # C0415: Ignore imports outside top-level
33-
no-value-for-parameter, # E1120: Ignore missing arguments in function calls
32+
consider-using-with # R1732: Ignore using 'with' for file or resource management
3433

3534
[TYPECHECK]
3635
generated-members=get_bearer_token_provider
3736

3837
[FORMAT]
39-
max-module-lines=1700 # Allow modules up to 1700 lines
38+
max-module-lines=1700 # Allow large modules up to 1700 lines
4039
max-line-length=160 # Allow lines up to 160 characters

0 commit comments

Comments
 (0)