Unverified Commit 3980b4b1 authored by SADIK KUZU's avatar SADIK KUZU Committed by GitHub
Browse files

Update pre-commit config (#2331)

via `pre-commit autoupdate`

```
Updating https://gitlab.com/pycqa/flake8
... updating 3.9.0 -> 3.9.2.
Updating https://github.com/pre-commit/mirrors-mypy
... updating v0.812 -> v0.902.
Updating https://github.com/pre-commit/mirrors-prettier
... updating v2.2.1 -> v2.3.1.
```

Signed-off-by: default avatarSADIK KUZU <sadikkuzu@hotmail.com>

* Add necessary typeshed packages to requirements

Co-authored-by: default avatarRichard Si <63936253+ichard26@users.noreply.github.com>
parent 8d8b3d18
Loading
Loading
Loading
Loading
+9 −3
Changes for .pre-commit-config.yaml: 9 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -13,21 +13,27 @@ repos:
        types_or: [python, pyi]

  - repo: https://gitlab.com/pycqa/flake8
    rev: 3.9.0
    rev: 3.9.2
    hooks:
      - id: flake8
        additional_dependencies: [flake8-bugbear]

  - repo: https://github.com/pre-commit/mirrors-mypy
    rev: v0.812
    rev: v0.902
    hooks:
      - id: mypy
        exclude: ^docs/conf.py
        additional_dependencies:
          - types-dataclasses >= 0.1.3
          - types-toml >= 0.1.1
          - types-typed-ast >= 1.4.1
          - types-click >= 7.1.2

  - repo: https://github.com/pre-commit/mirrors-prettier
    rev: v2.2.1
    rev: v2.3.1
    hooks:
      - id: prettier
        exclude: ^Pipfile\.lock

  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.0.1
+5 −1
Changes for Pipfile: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -10,6 +10,10 @@ docutils = "==0.15" # not a direct dependency, see https://github.com/pypa/pipe
flake8 = "*"
flake8-bugbear = "*"
mypy = ">=0.812"
types-click = ">=7.1.2"
types-dataclasses = ">=0.1.3"
types-toml = ">=0.1.1"
types-typed-ast = ">=1.4.1"
pre-commit = "*"
readme_renderer = "*"
MyST-Parser = ">=0.13.7"
@@ -33,4 +37,4 @@ toml = ">=0.10.1"
typed-ast = "==1.4.2"
typing_extensions = {"python_version <" = "3.8","version >=" = "3.7.4"}
black = {editable = true,extras = ["d"],path = "."}
dataclasses = {"python_version <" = "3.7","version >" = "0.6"}
dataclasses = {"python_version <" = "3.7","version >" = "0.1.3"}
+142 −87

File changed.

Preview size limit exceeded, changes collapsed.