Sergey M․
3089bc748c
Fix W504 and disable W503 ( closes #20863 )
5 anos atrás
Logan Fleur
b995043ab8
Ignore venv directory
6 anos atrás
Chih-Hsuan Yen
4989d351b4
flake8: Ignore E741 'ambiguous variable name'
Most of violating codes are reverse-engineered JavaScripts. IMO it's
better to keep original (obfuscated) names.
[skip ci]
6 anos atrás
Jaime Marquínez Ferrándiz
6b97ca96fc
lazy extractors: Style fixes
* Sort extractors alphabetically
* Add newlines when needed (youtube_dl/extractors/lazy_extractors.py pass the flake8 test now)
8 anos atrás
Sergey M․
a39c68f7e5
Exclude make_issue_template.py from flake8
8 anos atrás
Jaime Marquínez Ferrándiz
050fa43561
flake8: Ignore some error added in pep8 1.6
* E402: we exectute code between imports, like modifying 'sys.path' in the tests
* E731: we assign to lambdas in a lot of places, we may want to consider defining functions in a single line instead (what pep8 recommends)
9 anos atrás
Philipp Hagemeister
c9326b38b8
flake8: Ignore .git
9 anos atrás
Philipp Hagemeister
60e5428925
[flake8] Ignore build/ directory
That directory is temporarily generated when building for PyPi and may be present if something goes wrong with the upload.
9 anos atrás
Jaime Marquínez Ferrándiz
a16af51873
flake8: Add more ignored files
* setup.py: the '__version__' variable is not defined in the script, it is loadded from youtube_dl/version.py
* devscripts/buildserver.py: Produces a lot of messages
9 anos atrás
Jaime Marquínez Ferrándiz
dc9a441bfa
Move flake8 configuration to setup.cfg
It will be used when calling flake8 from any directory in the project
9 anos atrás
Jaime Marquínez Ferrándiz
4056ad8f36
Build and upload universal wheels to pypi
10 anos atrás