Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simuDAtor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computer Engineering
simuDAtor
Merge requests
!18
Removed default argument as list everywhere i found it
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Removed default argument as list everywhere i found it
10-ignore_keys-default-argument
into
main
Overview
0
Commits
2
Pipelines
2
Changes
2
Merged
Martin Högstedt
requested to merge
10-ignore_keys-default-argument
into
main
1 year ago
Overview
0
Commits
2
Pipelines
2
Changes
2
Expand
Closes
#10 (closed)
Edited
1 year ago
by
Martin Högstedt
0
0
Merge request reports
Compare
main
version 1
3aaf10c7
1 year ago
main (base)
and
latest version
latest version
f01ee7b5
2 commits,
1 year ago
version 1
3aaf10c7
1 commit,
1 year ago
2 files
+
69
−
57
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/simudator/core/module.py
+
4
−
1
Options
@@ -81,12 +81,15 @@ class Module:
"""
pass
def
get_longest_line_len
(
self
,
ignore_keys
=
[]
)
->
int
:
def
get_longest_line_len
(
self
,
ignore_keys
=
None
)
->
int
:
"""
Helper function for pretty_print that returns the length of
the longest line to print for a module.
"""
if
ignore_keys
==
None
:
ignore_keys
=
[]
longest_line_len
=
0
state
=
self
.
get_state
()
Loading