diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 84a6adf..0ac1ebd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,12 +2,6 @@ # Licensed under GNU Affero GPL version 3 or later repos: - - repo: https://github.com/asottile/pyupgrade - rev: v3.18.0 - hooks: - - id: pyupgrade - args: ['--py39-plus'] - - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: diff --git a/.style.yapf b/.style.yapf deleted file mode 100644 index 6e8da47..0000000 --- a/.style.yapf +++ /dev/null @@ -1,6 +0,0 @@ -[style] -allow_split_before_default_or_named_assigns = False -allow_split_before_dict_value = False -based_on_style = pep8 -column_limit = 99 -split_before_arithmetic_operator = True diff --git a/ruff.toml b/ruff.toml index bccdfe2..a277888 100644 --- a/ruff.toml +++ b/ruff.toml @@ -7,5 +7,6 @@ select = [ "E", # pycodestyle "F", # Pyflakes + flake8 "I", # isort + "UP", # pyupgrade "W", # pycodestyle ]