Commit Graph

16 Commits (e5a998f3684e7c56f9cf1c07c4e176e891d96509)

Author SHA1 Message Date
pukkandan 86e5f3ed2e
[cleanup] Upgrade syntax
Using https://github.com/asottile/pyupgrade

1. `__future__` imports and `coding: utf-8` were removed
2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format`
3. f-strings were cherry-picked from `pyupgrade --py36-plus`

Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
3 years ago
pukkandan 08d30158ec
[cleanup, docs] Misc cleanup
Closes #2828, closes #2734, closes #2802, closes #2937
3 years ago
pukkandan b440e1bb22
[devscripts] Improve `prepare_manpage`
Closes #2873
3 years ago
pukkandan 0fcba15d57
[docs] Fix bug in regex escape in python 3.6
Bug in ec2e44fc57
Closes #2060
3 years ago
chris ec2e44fc57
[docs] Improve manpage format (#2003)
Closes #1448
Authored by: iw0nderhow, pukkandan
3 years ago
felix cc52de4356
[cleanup] Point all shebang to `python3` (#372)
Authored by: fstirlitz
3 years ago
Pccode66 7a5c1cfe93
Completely change project name to yt-dlp (#85)
* All modules and binary names are changed
* All documentation references changed
* yt-dlp no longer loads youtube-dlc config files
* All URLs changed to point to organization account

Co-authored-by: Pccode66
Co-authored-by: pukkandan
4 years ago
Unknown cefecac12c [skip travis] renaming
to avoid using same folder when using pip install for example
4 years ago
Yen Chi Hsuan 473e87064b
[devscripts/prepare_manpage] Fix deprecated escape sequence on py36 7 years ago
Yen Chi Hsuan 582be35847
Update coding style after pycodestyle 2.1.0
In pycodestyle 2.1.0, E305 was introduced, which requires two blank
lines after top level declarations, too.

See https://github.com/PyCQA/pycodestyle/issues/400

See also #10689; thanks @stepshal for first mentioning this issue and
initial patches
8 years ago
Sergey M․ cc9c8ce5df
[devscripts/prepare_manpage] Fix description strings starting with dash (Closes #10273) 8 years ago
Sergey M․ 44c8892369
[devscripts/prepare_manpage] Fix manpage generation on Windows 9 years ago
Yen Chi Hsuan bad84757eb [doc] Better formatting of youtube-dl.1 (closes #6510) 9 years ago
Philipp Hagemeister b50e3bc67f [README] Add table of contents (Closes #4458) 10 years ago
Philipp Hagemeister dcddc10a50 [test_unicode_literals] Arm unicode_literals check
From now on, the line

from __future__ import unicode_literals

should be contained in every single Python file lest we run into any more 2.x/3.x issues.
Going forward, we're likely to develop on 3.x only and would likely miss subtle bugs otherwise.
10 years ago
Philipp Hagemeister 1800eeefed add prepare_manpage 11 years ago