Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
983789fe
Commit
983789fe
authored
5 years ago
by
Marko Petric
Committed by
Andre Sailer
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add config file for python formatting
parent
4d2ea19b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup.cfg
+40
-0
40 additions, 0 deletions
setup.cfg
with
40 additions
and
0 deletions
setup.cfg
0 → 100644
+
40
−
0
View file @
983789fe
[pycodestyle]
max-line-length
= 120
ignore
= E111, E114
#continuation
line with same indent as next logical line
E125
[pep8]
indent_size=2
[flake8]
exclude
= .git,__pycache__,old,build,dist
ignore
=
#
indentation is not a multiple of 4
E111
#
indentation is not a multiple of 4 (comment)
E114
#
closing bracket does not match visual indentation
E124
#
continuation line with same indent as next logical line
E125
#
continuation line over-indented for visual indent
E127
max-line-length=120
hang_closing=true
[yapf]
based_on_style
= pep8
DEDENT_CLOSING_BRACKETS=false
COALESCE_BRACKETS=false
COLUMN_LIMIT=120
EACH_DICT_ENTRY_ON_SEPARATE_LINE=true
INDENT_WIDTH=2
SPACES_BEFORE_COMMENT=1
SPACES_AROUND_DEFAULT_OR_NAMED_ASSIGN=true
SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED=true
SPLIT_BEFORE_EXPRESSION_AFTER_OPENING_PAREN=false
SPLIT_BEFORE_FIRST_ARGUMENT=false
SPLIT_PENALTY_AFTER_OPENING_BRACKET=1000000
BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF=false
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