Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
4bcdd946
Commit
4bcdd946
authored
12 years ago
by
Donald Stufft
Browse files
Options
Downloads
Patches
Plain Diff
Simplify the build matrix and remove pep8 + pylint
parent
cf798bad
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.pep8
+0
-3
0 additions, 3 deletions
.pep8
.pylintrc
+0
-71
0 additions, 71 deletions
.pylintrc
.travis.yml
+2
-25
2 additions, 25 deletions
.travis.yml
tasks.py
+2
-14
2 additions, 14 deletions
tasks.py
with
4 additions
and
113 deletions
.pep8
deleted
100644 → 0
+
0
−
3
View file @
cf798bad
[pep8]
ignore = E123,E124,E126,E127,E128
exclude = nacl.py
This diff is collapsed.
Click to expand it.
.pylintrc
deleted
100644 → 0
+
0
−
71
View file @
cf798bad
[MASTER]
# Pickle collected data for later comparisons.
persistent=yes
[MESSAGES CONTROL]
# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
# it should appear only once).
# W0511(fixme) - Do not need TODO's outputted typically
# I0011(locally-disabled) - If something is disabled it shouldn't generate more output
# C0111(missing-docstring) - Do not care if things are missing docstrings
# R0913(too-many-arguments) - Tool enforced limits like this are horrible
# R0903(too-few-public-methods) - Tool enforced limits like this are horrible
# R0904(too-many-public-methods) - Tool enforced limits like this are horrible
# R0911(too-many-return-statements) - Tool enforced limits like this are horrible
# R0912(too-many-branches) - Tool enforced limits like this are horrible
# R0914(too-many-locals) - Tool enforced limits like this are horrible
# R0201(no-self-use) - Does @staticmethod even really gain anything?
# W142(star-args) - Language features are not "magic"
# E0603(undefined-all-variable) - This appears to be broken?
disable=W0511,I0011,C0111,R0913,R0903,R0904,R0911,R0912,R0914,R0201,W0142,E0603
[REPORTS]
output-format=colorized
include-ids=yes
symbols=yes
reports=no
comment=no
[BASIC]
# List of builtins function names that should not be used, separated by a comma
bad-functions=map,filter,apply,input
# Regular expression which should only match correct module level names
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))|(ffi|lib)$
# Good variable names which should always be accepted, separated by a comma
good-names=i,j,k,_,fp
# Bad variable names which should always be refused, separated by a comma
bad-names=
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=80
[TYPECHECK]
# List of members which are set dynamically and missed by pylint inference
# system, and so shouldn't trigger E0201 when accessed. Python regular
# expressions are accepted.
generated-members=query,version,project
# List of classes which members are set dynamically and missed by pylint
# inference system, and so shouldn't trigger E1101 when accessed.
ignored-classes=FFILibrary
[VARIABLES]
# A regular expression matching the beginning of the name of dummy variables
# (i.e. not used).
dummy-variables-rgx=_
This diff is collapsed.
Click to expand it.
.travis.yml
+
2
−
25
View file @
4bcdd946
...
@@ -11,33 +11,10 @@ install:
...
@@ -11,33 +11,10 @@ install:
-
invoke install-nacl --library=$NACL
-
invoke install-nacl --library=$NACL
-
invoke install --dev
-
invoke install --dev
script
:
script
:
-
invoke tests
--suite=$SUITE
-
invoke tests
env
:
env
:
global
:
global
:
-
LD_LIBRARY_PATH=/usr/local/lib
-
LD_LIBRARY_PATH=/usr/local/lib
-
LD_RUN_PATH=/usr/local/lib
-
LD_RUN_PATH=/usr/local/lib
matrix
:
matrix
:
-
NACL=libsodium SUITE=unit
-
NACL=libsodium
-
"
NACL=libsodium
SUITE=pep8,lint"
matrix
:
exclude
:
-
python
:
"
2.6"
env
:
-
"
NACL=libsodium
SUITE=pep8,lint"
-
LD_LIBRARY_PATH=/usr/local/lib
-
LD_RUN_PATH=/usr/local/lib
-
python
:
"
3.2"
env
:
-
"
NACL=libsodium
SUITE=pep8,lint"
-
LD_LIBRARY_PATH=/usr/local/lib
-
LD_RUN_PATH=/usr/local/lib
-
python
:
"
3.3"
env
:
-
"
NACL=libsodium
SUITE=pep8,lint"
-
LD_LIBRARY_PATH=/usr/local/lib
-
LD_RUN_PATH=/usr/local/lib
-
python
:
"
pypy"
env
:
-
"
NACL=libsodium
SUITE=pep8,lint"
-
LD_LIBRARY_PATH=/usr/local/lib
-
LD_RUN_PATH=/usr/local/lib
This diff is collapsed.
Click to expand it.
tasks.py
+
2
−
14
View file @
4bcdd946
...
@@ -66,17 +66,5 @@ def install(dev=False):
...
@@ -66,17 +66,5 @@ def install(dev=False):
@task
@task
def
tests
(
suite
=
None
):
def
tests
():
if
suite
is
None
:
run
(
"
py.test
"
)
suite
=
set
([
"
pep8
"
,
"
lint
"
,
"
unit
"
])
else
:
suite
=
set
(
suite
.
split
(
"
,
"
))
if
"
pep8
"
in
suite
:
run
(
"
pep8 nacl
"
)
if
"
lint
"
in
suite
:
run
(
"
pylint --rcfile .pylintrc -r y nacl
"
)
if
"
unit
"
in
suite
:
run
(
"
py.test
"
)
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