Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
deckard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
31
Issues
31
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Knot projects
deckard
Commits
c7093aca
Commit
c7093aca
authored
Jul 26, 2018
by
Štěpán Balážik
Committed by
Petr Špaček
Aug 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rplint: add note about running rplint.py on directories
parent
b7e1c770
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
rplint.py
rplint.py
+4
-0
No files found.
rplint.py
View file @
c7093aca
...
...
@@ -295,6 +295,10 @@ if __name__ == '__main__':
except
IndexError
:
print
(
"usage: %s <path to rpl file>"
%
sys
.
argv
[
0
])
sys
.
exit
(
2
)
if
not
os
.
path
.
isfile
(
test_path
):
print
(
"rplint.py works on single file only."
)
print
(
"Use rplint.sh with --scenarios=<directory with rpls> to run on rpls."
)
sys
.
exit
(
2
)
print
(
"Linting %s"
%
test_path
)
t
=
RplintTest
(
test_path
)
passed
=
t
.
run_checks
()
...
...
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