mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 02:32:33 +01:00
include 'test/results' in flake8 checks
This commit is contained in:
parent
e61f016465
commit
217fa7f8a1
@ -1,7 +1,8 @@
|
||||
[flake8]
|
||||
exclude = .git,__pycache__,build,dist,archive,results
|
||||
exclude = .git,__pycache__,build,dist,archive
|
||||
ignore = E203,E226,W504
|
||||
per-file-ignores =
|
||||
setup.py: E501
|
||||
gallery_dl/extractor/500px.py: E501
|
||||
gallery_dl/extractor/mangapark.py: E501
|
||||
test/results/*.py: E122,E241,E402,E501
|
||||
|
@ -5,7 +5,6 @@
|
||||
# published by the Free Software Foundation.
|
||||
|
||||
import os
|
||||
import sys
|
||||
import functools
|
||||
|
||||
__directory__ = os.path.dirname(__file__)
|
||||
|
@ -43,7 +43,6 @@ __tests__ = (
|
||||
"extension": "jpg",
|
||||
"filename" : "Icy-Moonrise---For-Web",
|
||||
"num" : 1,
|
||||
"num" : int,
|
||||
"url" : "https://3.bp.blogspot.com/-zlJddJtJOUo/Tt4WooTPNtI/AAAAAAAABG8/dGT2cGp2E7Y/s0/Icy-Moonrise---For-Web.jpg",
|
||||
},
|
||||
|
||||
|
@ -41,10 +41,8 @@ __tests__ = (
|
||||
"#category": ("nitter", "nitter.1d4.us", "tweet"),
|
||||
"#class" : nitter.NitterTweetExtractor,
|
||||
|
||||
"content": r"""re:Gear up for #PokemonSwordShieldEX with special Mystery Gifts!
|
||||
|
||||
You’ll be able to receive four Galarian form Pokémon with Hidden Abilities, plus some very useful items. It’s our \(Mystery\) Gift to you, Trainers!
|
||||
|
||||
"content": r"""re:Gear up for #PokemonSwordShieldEX with special Mystery Gifts! \n
|
||||
You’ll be able to receive four Galarian form Pokémon with Hidden Abilities, plus some very useful items. It’s our \(Mystery\) Gift to you, Trainers! \n
|
||||
❓🎁➡️ """,
|
||||
},
|
||||
|
||||
|
@ -130,7 +130,7 @@ __tests__ = (
|
||||
"underwater",
|
||||
"seaweed",
|
||||
"illustration",
|
||||
"speed paint"
|
||||
"speed paint",
|
||||
],
|
||||
"time_elapsed" : r"re:\d+ months",
|
||||
"timestamp" : str,
|
||||
|
Loading…
Reference in New Issue
Block a user