The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

Commit 1c1a0e61 authored by Laurent Bachelier's avatar Laurent Bachelier 🐧 Committed by Vincent A

pyflakes: Stricter matching and simpler config

parent dead11c0
##
# this file declares which modules are compatible with python3 and should be checked with pyflakes3
##
750g/
adecco/
agendaculturel/
agendadulibre/
allrecipes/
amazon/
americanexpress/
apec/
arte/
axabanque/
bandcamp/
banquepopulaire/
barclays/
bforbank/
bibliothequesparis/
billetreduc/
biplan/
blablacar/
blogspot/
bnppere/
boursorama/
/bp/
bred/
btmon/
caissedepargne/
capeasi/
colissimo/
cragr/
creditcooperatif/
creditdunord/
cuisineaz/
delubac/
dlfp/
ebonics/
entreparticuliers/
erehsbc/
esalia/
explorimmo/
feedly/
fortuneo/
francetelevisions/
freeteknomusic/
funmooc/
github/
googletranslate/
groupamaes/
hsbc/
hybride/
imdb/
imgur/
indeed/
infomaniak/
ing/
ipinfodb/
jcvelaux/
jirafeau/
lameteoagricole/
larousse/
lcl/
ldlc/
leboncoin/
limetorrents/
linebourse/
logicimmo/
lolix/
lutim/
lyricsmode/
manpower/
marmiton/
mediawiki/
meteofrance/
monster/
n26/
nectarine/
nova/
opensubtitles/
ouifm/
pap/
pariskiwi/
paroles2chansons/
parolesmania/
pastebin/
pastealacon/
pixtoilelibre/
popolemploi/
pornhub/
ratp/
razibus/
regionsjob/
relaiscolis/
s2e/
seloger/
senscritique/
societegenerale/
somafm/
spirica/
sprunge/
sueurdemetal/
supertoinette/
tumblr/
tvsubtitles/
twitter/
vimeo/
vlille/
wordreference/
xhamster/
yggtorrents/
yomoni/
youtube/
zerobin/
750g
adecco
agendaculturel
agendadulibre
allrecipes
amazon
americanexpress
apec
arte
axabanque
bandcamp
banquepopulaire
barclays
bforbank
bibliothequesparis
billetreduc
biplan
blablacar
blogspot
bnppere
boursorama
bp
bred
btmon
caissedepargne
capeasi
colissimo
cragr
creditcooperatif
creditdunord
cuisineaz
delubac
dlfp
ebonics
entreparticuliers
erehsbc
esalia
explorimmo
feedly
fortuneo
francetelevisions
freeteknomusic
funmooc
github
googletranslate
groupamaes
hsbc
hybride
imdb
imgur
indeed
infomaniak
ing
ipinfodb
jcvelaux
jirafeau
lameteoagricole
larousse
lcl
ldlc
leboncoin
limetorrents
linebourse
logicimmo
lolix
lutim
lyricsmode
manpower
marmiton
mediawiki
meteofrance
monster
n26
nectarine
nova
opensubtitles
ouifm
pap
pariskiwi
paroles2chansons
parolesmania
pastebin
pastealacon
pixtoilelibre
popolemploi
pornhub
ratp
razibus
regionsjob
relaiscolis
s2e
seloger
senscritique
societegenerale
somafm
spirica
sprunge
sueurdemetal
supertoinette
tumblr
tvsubtitles
twitter
vimeo
vlille
wordreference
xhamster
yggtorrents
yomoni
youtube
zerobin
......@@ -3,12 +3,12 @@
err=0
PY3MODS=./tools/py3-compatible.modules
PY3MODS=$(grep -v '^#' ./tools/py3-compatible.modules|tr '\n' '|'|sed 's/|$//')
cd $(dirname $0)/..
MODULE_FILES=$(git ls-files|grep '^modules/.*\.py$')
MODULE_FILES3=$(printf "%s\n" $MODULE_FILES|grep -F -f $PY3MODS)
MODULE_FILES=$(git ls-files modules|grep '\.py$')
MODULE_FILES3=$(printf "%s\n" $MODULE_FILES|grep -E -w "^modules/(${PY3MODS})")
PYFILES=$(git ls-files | grep '^scripts\|\.py$'|grep -v boilerplate_data|grep -v stable_backport_data|grep -v '^modules'|grep -v '^contrib')
PYFILES3="$(printf "%s\n" $PYFILES | grep -v /deprecated/) $MODULE_FILES3"
......
......@@ -23,7 +23,7 @@
modules_without_py3 = []
with open(os.path.join(os.path.dirname(__file__), 'py3-compatible.modules')) as p:
modules_py3_compatible = [m.strip().strip('/')
modules_py3_compatible = [m.strip()
for m in p.readlines()
if not m.startswith('#')]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment