- Add pyupgrade to
.pre-commit-config.yaml.
If supporting py35, use --py3-plus instead of --py37-plus.
- repo: https://github.com/asottile/pyupgrade
rev: ...latest version...
hooks:
- id: pyupgrade
args: [--py37-plus].pre-commit-config.yaml.If supporting py35, use --py3-plus instead of --py37-plus.
- repo: https://github.com/asottile/pyupgrade
rev: ...latest version...
hooks:
- id: pyupgrade
args: [--py37-plus]| " Vim syntax file | |
| " Language: Configuration File (ini file) for Python's tox | |
| " Version: 0.1 | |
| " Original Author: Alfredo Deza | |
| " For version 5.x: Clear all syntax items | |
| " For version 6.x: Quit when a syntax file was already loaded | |
| if version < 600 | |
| syntax clear |
| [run] | |
| branch = True | |
| source = . |
To remove a submodule you need to:
I tried a few different techniques to make a GIF via command-line and the following gives me the best control of quality and size. Once you're all setup, you'll be pumping out GIFs in no time!
Install FFmpeg
Install ImageMagick
| #!/bin/bash | |
| # works with a file called VERSION in the current directory, | |
| # the contents of which should be a semantic version number | |
| # such as "1.2.3" | |
| # this script will display the current version, automatically | |
| # suggest a "minor" version update, and ask for input to use | |
| # the suggestion, or a newly entered value. |