]>
git.madduck.net Git - etc/vim.git/commitdiff
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e293473 )
-_Black_ can be installed by running `pip install black`. It requires Python 3.6.0 + to
+_Black_ can be installed by running `pip install black`. It requires Python 3.6.2 + to
run but you can reformat Python 2 code with it, too.
#### Install from GitHub
run but you can reformat Python 2 code with it, too.
#### Install from GitHub
return venv_path / 'lib' / f'python{pyver[0]}.{pyver[1]}' / 'site-packages'
def _initialize_black_env(upgrade=False):
return venv_path / 'lib' / f'python{pyver[0]}.{pyver[1]}' / 'site-packages'
def _initialize_black_env(upgrade=False):
- pyver = sys.version_info[:2 ]
- if pyver < (3, 6):
- print("Sorry, Black requires Python 3.6+ to run.")
+ pyver = sys.version_info[:3 ]
+ if pyver < (3, 6, 2 ):
+ print("Sorry, Black requires Python 3.6.2 + to run.")
return False
from pathlib import Path
return False
from pathlib import Path
-assert sys.version_info >= (3, 6, 0), "black requires Python 3.6 +"
+assert sys.version_info >= (3, 6, 2), "black requires Python 3.6.2 +"
from pathlib import Path # noqa E402
CURRENT_DIR = Path(__file__).parent
from pathlib import Path # noqa E402
CURRENT_DIR = Path(__file__).parent
packages=["blackd", "black", "blib2to3", "blib2to3.pgen2", "black_primer"],
package_dir={"": "src"},
package_data={"blib2to3": ["*.txt"], "black": ["py.typed"]},
packages=["blackd", "black", "blib2to3", "blib2to3.pgen2", "black_primer"],
package_dir={"": "src"},
package_data={"blib2to3": ["*.txt"], "black": ["py.typed"]},
- python_requires=">=3.6",
+ python_requires=">=3.6.2 ",
zip_safe=False,
install_requires=[
"click>=7.1.2",
zip_safe=False,
install_requires=[
"click>=7.1.2",