mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 05:45:37 +08:00
Ignore the future default Python3 virtualenv
This commit is contained in:
committed by
Nicola Soranzo
parent
2be7eb8cfa
commit
6346b9e309
@@ -7,15 +7,16 @@ else
|
||||
fi
|
||||
|
||||
export ACK_OPTIONS=" --type python \
|
||||
--ignore-dir=.git/ \
|
||||
--ignore-dir=.tox/ \
|
||||
--ignore-dir=.venv/ \
|
||||
--ignore-dir=client/node_modules/ \
|
||||
--ignore-dir=database/ \
|
||||
--ignore-dir=doc/build/ \
|
||||
--ignore-dir=eggs/ \
|
||||
--ignore-dir=static/maps/ \
|
||||
--ignore-dir=static/scripts/"
|
||||
--ignore-dir=.git \
|
||||
--ignore-dir=.tox \
|
||||
--ignore-dir=.venv \
|
||||
--ignore-dir=.venv3 \
|
||||
--ignore-dir=client/node_modules \
|
||||
--ignore-dir=database \
|
||||
--ignore-dir=doc/build \
|
||||
--ignore-dir=eggs \
|
||||
--ignore-dir=static/maps \
|
||||
--ignore-dir=static/scripts"
|
||||
|
||||
PYTHON2_ONLY_MODULES="__builtin__ _winreg BaseHTTPServer CGIHTTPServer \
|
||||
ConfigParser Cookie cookielib copy_reg cPickle cStringIO Dialog dummy_thread \
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
.venv/
|
||||
.tox/
|
||||
client/node_modules/
|
||||
database/
|
||||
.git
|
||||
.tox
|
||||
.venv
|
||||
.venv3
|
||||
client/node_modules
|
||||
database
|
||||
doc/build
|
||||
doc/source/conf.py
|
||||
eggs/
|
||||
eggs
|
||||
lib/galaxy/util/jstree.py
|
||||
lib/galaxy/web/proxy/js/node_modules/
|
||||
static/maps
|
||||
static/scripts
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
flake8 --exclude `paste -sd, .ci/flake8_blacklist.txt` .
|
||||
flake8 --exclude $(paste -sd, .ci/flake8_blacklist.txt) .
|
||||
|
||||
# Apply stricter rules for the directories shared with Pulsar
|
||||
flake8 --ignore=D --max-line-length=150 lib/galaxy/jobs/runners/util/
|
||||
|
||||
@@ -15,7 +15,7 @@ args="--ignore=D --select=D100,D201,D202,D206,D207,D208,D209,D211,D3,D403"
|
||||
|
||||
if [ "$1" = "--include" ];
|
||||
then
|
||||
flake8 $args `paste .ci/flake8_docstrings_include_list.txt`
|
||||
flake8 $args $(paste -sd' ' .ci/flake8_docstrings_include_list.txt)
|
||||
else
|
||||
flake8 $args --exclude `paste -sd, .ci/flake8_blacklist.txt` .
|
||||
flake8 $args --exclude $(paste -sd, .ci/flake8_blacklist.txt) .
|
||||
fi
|
||||
|
||||
@@ -7,6 +7,7 @@ scripts/scramble/archives
|
||||
|
||||
# Python virtualenv
|
||||
.venv
|
||||
.venv3
|
||||
|
||||
# Database stuff
|
||||
database/beaker_sessions
|
||||
|
||||
Reference in New Issue
Block a user