Skip to content

Feature request: hook for flynt, configuration for pyupgrade #238

Open
@arjan-s

Description

@arjan-s

Examples from my current .pre-commit-config.yaml:

repos:
  - repo: https://github.com/asottile/pyupgrade
    rev: v3.3.1
    hooks:
      - id: pyupgrade
        args: [--py310-plus]
        exclude: /migrations/
  - repo: https://github.com/pre-commit/mirrors-mypy
    rev: v0.991
    hooks:
      - id: mypy
        additional_dependencies: ['types-requests', 'types-python-dateutil', 'types-pytz']
        exclude: /migrations/
  - repo: https://github.com/ikamensh/flynt/
    rev: '0.77'
    hooks:
      - id: flynt
        exclude: /migrations/

Metadata

Metadata

Assignees

No one assigned

    Labels

    new-hookA request for a new hook

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions