Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mentat-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
713
Mentat
mentat-test
Commits
543c9a62
Commit
543c9a62
authored
7 years ago
by
Jan Mach
Browse files
Options
Downloads
Patches
Plain Diff
Checked the mentat.stats.idea module with pylint.
(Redmine issue:
#3379
,
#3443
)
parent
b31f8e8b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/mentat/stats/idea.py
+2
-4
2 additions, 4 deletions
lib/mentat/stats/idea.py
with
2 additions
and
4 deletions
lib/mentat/stats/idea.py
+
2
−
4
View file @
543c9a62
...
...
@@ -17,10 +17,8 @@ __author__ = "Jan Mach <jan.mach@cesnet.cz>"
__credits__
=
"
Pavel Kácha <pavel.kacha@cesnet.cz>, Andrea Kropáčová <andrea.kropacova@cesnet.cz>
"
import
collections
from
mentat.stats
import
escape_dict
,
unescape_dict
from
pynspect.jpath
import
jpath_values
,
jpath_set
from
pynspect.jpath
import
jpath_values
KEY_UNKNOWN
=
'
__unknown__
'
...
...
@@ -258,7 +256,7 @@ def evaluate_messages(messages, stats = None):
return
stats
# Prepare structure for storing IDEA message identifiers.
if
not
ST_LIST_IDS
in
stats
:
if
ST_LIST_IDS
not
in
stats
:
stats
[
ST_LIST_IDS
]
=
[]
for
msg
in
messages
:
...
...
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