Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
a4a2f179
Commit
a4a2f179
authored
8 years ago
by
Adam J. Stewart
Browse files
Options
Downloads
Patches
Plain Diff
Updates to run-flake8 test
parent
d24c11f2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
share/spack/qa/run-flake8
+2
-1
2 additions, 1 deletion
share/spack/qa/run-flake8
with
2 additions
and
1 deletion
share/spack/qa/run-flake8
+
2
−
1
View file @
a4a2f179
...
...
@@ -18,7 +18,7 @@ if [[ ! $flake8 ]]; then
fi
# Check if changed files are flake8 conformant [framework]
changed
=
$(
git diff
--name-only
develop... |
grep
'.py$'
)
changed
=
$(
git diff
--name-only
--find-renames
develop... |
grep
'.py$'
)
# Add approved style exemptions to the changed packages.
for
file
in
$changed
;
do
...
...
@@ -26,6 +26,7 @@ for file in $changed; do
cp
"
$file
"
"
$file
~"
# Exempt lines with urls and descriptions from overlong line errors.
perl
-i
-pe
's/^(\s*homepage\s*=.*)$/\1 # NOQA: ignore=E501/'
$file
perl
-i
-pe
's/^(\s*url\s*=.*)$/\1 # NOQA: ignore=E501/'
$file
perl
-i
-pe
's/^(\s*version\(.*\).*)$/\1 # NOQA: ignore=E501/'
$file
perl
-i
-pe
's/^(\s*variant\(.*\).*)$/\1 # NOQA: ignore=E501/'
$file
...
...
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