Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Modules
Commits
69639b46
Commit
69639b46
authored
Jun 26, 2015
by
Alexander Wiebel
Browse files
[STYLE #42] corrected style check
parent
a76c656d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
MyOpenWalnutToolbox/tools/style/brainlint/brainlint.py
MyOpenWalnutToolbox/tools/style/brainlint/brainlint.py
+1
-1
No files found.
MyOpenWalnutToolbox/tools/style/brainlint/brainlint.py
View file @
69639b46
...
...
@@ -1059,7 +1059,7 @@ def CheckForCompleteCommentHeader(filename, lines, error):
and
(
len
(
lines
[
3
]
)
==
52
)
and
re
.
match
(
r
'//'
,
lines
[
4
])
and
(
len
(
lines
[
4
]
)
==
2
)
and
re
.
match
(
r
'// Copyright 20
09
'
,
lines
[
5
])
#Checks only the first part of the line. Other copyrights could appear.
and
re
.
match
(
r
'// Copyright 20'
,
lines
[
5
])
#Checks only the first part of the line. Other copyrights could appear.
# and ( len( lines[5] ) == 18 ) #Checks only the first part of the line. Other copyrights could appear.
and
re
.
match
(
r
'// For more information see http://www.openwalnut.org/copying'
,
lines
[
6
])
and
(
len
(
lines
[
6
]
)
==
61
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment