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 #3

Open
wants to merge 2 commits into
base: master
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,8 +1,8 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/myint/autoflake
rev: v1.7.6
- repo: https://github.com/PyCQA/autoflake
rev: v2.3.1
hooks:
- id: autoflake
args:
Expand All @@ -12,15 +12,15 @@ repos:
- --expand-star-imports
- --ignore-init-module-imports
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 24.10.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
additional_dependencies: [toml]
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.1.0
rev: v2.7.0
hooks:
- id: setup-cfg-fmt
3 changes: 1 addition & 2 deletions irun/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ def construct(node):
return node


class Matcher:
...
class Matcher: ...


class AnyMatcher(Matcher):
Expand Down
6 changes: 2 additions & 4 deletions irun/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ class singleton(ast.AST):
_attributes = ("lineno", "col_offset", "end_lineno", "end_col_offset")


class IgnoreOne(singleton):
...
class IgnoreOne(singleton): ...


class IgnoreAny(singleton):
...
class IgnoreAny(singleton): ...


class Reference(ast.expr):
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ long_description_content_type = text/markdown
url = https://github.com/reizio/irun
author = isidentical
author_email = [email protected]
license_file = LICENSE.txt
license_files = LICENSE.txt
classifiers =
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only

[options]
packages = find:
python_requires = >=3.8
python_requires = >=3.9
Loading