diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2019-11-13 15:43:44 +0000 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2019-11-13 15:44:46 +0000 |
commit | bde4e4443efb32ae63e3ee62817dbefcc1790eaf (patch) | |
tree | 404e1b4c94799b2d5298bfaad74258942d72d70a /.pre-commit-config.yaml | |
parent | ed4bc5fa17ec50069c9173fda6efdc801c8b14a6 (diff) | |
download | deluge-bde4e4443efb32ae63e3ee62817dbefcc1790eaf.tar.gz deluge-bde4e4443efb32ae63e3ee62817dbefcc1790eaf.tar.bz2 deluge-bde4e4443efb32ae63e3ee62817dbefcc1790eaf.zip |
[Lint] Fix Black and Flake8 issues
For a single element unpack black now also encloses with parentheses to
make it clearer: https://github.com/psf/black/issues/1108
Fix flake8 warnings
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a76391756..c80703764 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,20 +6,20 @@ exclude: > )$ repos: - repo: https://github.com/ambv/black - rev: 19.3b0 + rev: 19.10b0 hooks: - id: black name: Fmt Black language_version: python3.6 - repo: https://github.com/prettier/prettier - rev: 1.17.0 + rev: 1.19.1 hooks: - id: prettier name: Fmt Prettier # Workaround to list modified files only. args: [--list-different] - repo: https://gitlab.com/pycqa/flake8 - rev: 3.7.7 + rev: 3.7.9 hooks: - id: flake8 name: Chk Flake8 @@ -27,7 +27,7 @@ repos: - flake8-isort==2.7 - pep8-naming==0.8.2 - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.2.1 + rev: v2.4.0 hooks: - id: double-quote-string-fixer name: Fix Double-quotes |