Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scheduling-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SMASCH
scheduling-system
Commits
7951142e
Commit
7951142e
authored
3 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
deprecated method replaced
parent
33f3cff9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!336
Pylint checks
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.pylintrc
+47
-0
47 additions, 0 deletions
.pylintrc
smash/web/tests/test_RedcapConnector.py
+1
-1
1 addition, 1 deletion
smash/web/tests/test_RedcapConnector.py
with
48 additions
and
1 deletion
.pylintrc
+
47
−
0
View file @
7951142e
...
...
@@ -4,6 +4,53 @@ disable=
C0115, # missing-class-docstring
C0116, # missing-function-docstring
# TO BE CHECKED
W0143, # comparison-with-callable
R0201, # no-self-use
R0903, # too-few-public-methods
R1718, # consider-using-set-comprehension
R0205, # useless-object-inheritance
W1202, # logging-format-interpolation
R0902, # too-many-instance-attributes
R0913, # too-many-arguments
W0201, # attribute-defined-outside-init
C0411, # wrong-import-order
C0103, # invalid-name
R0914, # too-many-locals
R1705, # no-else-return
R1710, # inconsistent-return-statements
W1201, # logging-not-lazy
R1702, # too-many-nested-blocks
R0912, # too-many-branches
R0915, # too-many-statements
I1101, # c-extension-no-member
R0904, # too-many-public-methods
C0123, # unidiomatic-typecheck
R1725, # super-with-arguments
E1101, # no-member
W0235, # useless-super-delegation
W0702, # bare-except
R0901, # too-many-ancestors
R1732, # consider-using-with
C0325, # superfluous-parens
E5142, # imported-auth-user
W0511, # fixme
C0207, # use-maxsplit-arg
C0206, # consider-using-dict-items
W0703, # broad-except
R0401, # cyclic-import
R0916, # too-many-boolean-expressions
R1703, # simplifiable-if-statement
R0801, # duplicate-code
E0604, # invalid-all-object
W0106, # expression-not-assigned
R1720, # no-else-raise
R5101, # http-response-with-json-dumps
R5102, # http-response-with-content-type-json
W0603, # global-statement
W1308, # duplicate-string-formatting-argument
W0102, # dangerous-default-value
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=120
This diff is collapsed.
Click to expand it.
smash/web/tests/test_RedcapConnector.py
+
1
−
1
View file @
7951142e
...
...
@@ -244,5 +244,5 @@ class TestRedcapConnector(TestCase):
provenances
=
redcap_connection
.
update_data_from_redcap
(
subject
,
redcap_visit
)
self
.
assertTrue
(
len
(
provenances
)
>
0
)
self
.
assertEqual
s
(
subject
.
get_custom_data_value
(
status_field
).
value
,
'
Inconclusive
'
)
self
.
assertEqual
(
subject
.
get_custom_data_value
(
status_field
).
value
,
'
Inconclusive
'
)
self
.
assertTrue
(
subject
.
get_custom_data_value
(
collect_field
).
value
!=
''
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment