Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #21

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
exclude: ^tests/fixtures/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.6.0
hooks:
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.0.1
- repo: https://github.com/asottile/reorder-python-imports
rev: v3.13.0
hooks:
- id: reorder-python-imports
args: [--application-directories, '.:src', --py36-plus]
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 24.4.2
hooks:
- id: black
args: [--line-length=79]
- repo: https://github.com/asottile/pyupgrade
rev: v2.32.0
rev: v3.16.0
hooks:
- id: pyupgrade
args: [--py36-plus]
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v1.20.1
rev: v2.5.0
hooks:
- id: setup-cfg-fmt
args: [--min-py3-version, '3.6']
7 changes: 1 addition & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ url = https://github.com/pycqa/flake8-polyfill
author = Ian Stapleton Cordasco
author_email = graffatcolmingov@gmail.com
license = MIT
license_file = LICENSE
license_files = LICENSE
classifiers =
Environment :: Console
Framework :: Flake8
Expand All @@ -17,11 +17,6 @@ classifiers =
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: Implementation :: CPython
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Software Development :: Quality Assurance
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Installation and packaging."""

import setuptools

setuptools.setup()
1 change: 1 addition & 0 deletions src/flake8_polyfill/options.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Option handling polyfill for Flake8 2.x and 3.x."""

import optparse
import os

Expand Down
1 change: 1 addition & 0 deletions src/flake8_polyfill/stdin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Monkey-patching for pep8 and pycodestyle."""

try:
import pep8
except ImportError:
Expand Down
1 change: 1 addition & 0 deletions src/flake8_polyfill/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Version information for Flake8 2.x and 3.x."""

import flake8

version_info = getattr(flake8, "__version_info__", None)
Expand Down
1 change: 1 addition & 0 deletions tests/test_options.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for our options submodule."""

import optparse
import os
from unittest import mock
Expand Down
1 change: 1 addition & 0 deletions tests/test_stdin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for polyfill's stdin monkey patching."""

import flake8
import pep8
import pycodestyle
Expand Down
Loading