Skip to content
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
14 changes: 7 additions & 7 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.3
hooks:
- id: autoflake
args:
Expand All @@ -11,16 +11,16 @@ repos:
- --remove-all-unused-imports
- --expand-star-imports
- --ignore-init-module-imports
- repo: https://github.com/psf/black
rev: 22.10.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1
- repo: https://github.com/PyCQA/isort
rev: 8.0.1
hooks:
- id: isort
additional_dependencies: [toml]
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.1.0
rev: v3.2.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 = isidentical@gmail.com
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.10
Loading