Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
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
Model registry
Operate
Environments
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
eta
gajim
Commits
58106549
Commit
58106549
authored
15 years ago
by
steve-e
Browse files
Options
Downloads
Patches
Plain Diff
Use pylint instead of pychecker.
The latter one has to execute the modules and does not work all the time.
parent
ae5dbe07
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/dev/run-pylint.py
+1
-2
1 addition, 2 deletions
scripts/dev/run-pylint.py
with
1 addition
and
2 deletions
scripts/dev/run-py
checker
.py
→
scripts/dev/run-py
lint
.py
+
1
−
2
View file @
58106549
...
...
@@ -7,8 +7,7 @@ import sys
if
os
.
getcwd
().
endswith
(
'
dev
'
):
os
.
chdir
(
'
../../src/
'
)
# we were in scripts/dev
os
.
system
(
'
pychecker --limit 10000 --no-shadowbuiltin *.py &> /tmp/pychecker-gajim.log
'
)
os
.
system
(
'
$EDITOR /tmp/pychecker-gajim.log
'
)
os
.
system
(
"
pylint --indent-string=
'
\t
'
--additional-builtins=
'
_
'
--disable-msg=C0111,C0103,C0111,C0112 --disable-checker=design
"
+
""
.
join
(
sys
.
argv
[
1
:]))
# vim: se ts=3:
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