From 8a0e4dad501ca802a614146757230bbf7f916fbe Mon Sep 17 00:00:00 2001 From: "Jan Willhaus [bot]" Date: Sat, 12 Oct 2024 10:27:55 +0000 Subject: [PATCH] build(lint): Auto-fix linting issues --- pre-commit.log | 136 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) diff --git a/pre-commit.log b/pre-commit.log index 212f776..82adaf0 100644 --- a/pre-commit.log +++ b/pre-commit.log @@ -1095,3 +1095,139 @@ All changes made by hooks: +If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`. +To run `pre-commit` as part of git workflow, use `pre-commit install`. +All changes made by hooks: +sync_ruff_version........................................................Failed +- hook id: sync_ruff_version +- files were modified by this hook +ruff.....................................................................Failed +- hook id: ruff +- files were modified by this hook + +warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`: + - 'extend-select' -> 'lint.extend-select' + - 'ignore' -> 'lint.ignore' + - 'unfixable' -> 'lint.unfixable' + - 'mccabe' -> 'lint.mccabe' +All checks passed! + +ruff-format..............................................................Failed +- hook id: ruff-format +- files were modified by this hook + +warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`: + - 'extend-select' -> 'lint.extend-select' + - 'ignore' -> 'lint.ignore' + - 'unfixable' -> 'lint.unfixable' + - 'mccabe' -> 'lint.mccabe' +12 files left unchanged + +mypy.....................................................................Failed +- hook id: mypy +- files were modified by this hook + +Success: no issues found in 12 source files + +trim trailing whitespace.................................................Failed +- hook id: trailing-whitespace +- files were modified by this hook +fix end of files......................................................... +Failed +- hook id: end-of-file-fixer +- exit code: 1 +- files were modified by this hook + +Fixing pre-commit.log + +poetry-lock..............................................................Failed +- hook id: poetry-lock +- files were modified by this hook + +Resolving dependencies... (0.0s) Resolving dependencies... (0.1s) Resolving dependencies... (0.2s) Resolving dependencies... (0.3s) Resolving dependencies... (0.4s) Resolving dependencies... (0.5s) Resolving dependencies... (0.6s) Resolving dependencies... (0.8s) Resolving dependencies... (0.9s) Resolving dependencies... (1.0s) Resolving dependencies... (1.1s) Resolving dependencies... (1.2s) Resolving dependencies... (1.3s) Resolving dependencies... (1.4s) Resolving dependencies... (1.5s) Resolving dependencies... (1.6s) Resolving dependencies... (1.7s) Resolving dependencies... (1.8s) Resolving dependencies... (1.9s) Resolving dependencies... (2.0s) Resolving dependencies... (2.1s) Resolving dependencies... (2.2s) + +poetry-check.............................................................Failed +- hook id: poetry-check +- files were modified by this hook + +All set! + +mypy.....................................................................Failed +- hook id: mypy +- files were modified by this hook + +Success: no issues found in 12 source files + +pre-commit hook(s) made changes. +If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`. +To run `pre-commit` as part of git workflow, use `pre-commit install`. +All changes made by hooks: +diff --git a/pre-commit.log b/pre-commit.log +index 212f776..2a0b58d 100644 +--- a/pre-commit.log ++++ b/pre-commit.log +@@ -1095,3 +1095,67 @@ All changes made by hooks: + +If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`. + +To run `pre-commit` as part of git workflow, use `pre-commit install`. + +All changes made by hooks: ++sync_ruff_version........................................................Failed ++- hook id: sync_ruff_version ++- files were modified by this hook ++ruff.....................................................................Failed ++- hook id: ruff ++- files were modified by this hook ++ ++warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`: ++ - 'extend-select' -> 'lint.extend-select' ++ - 'ignore' -> 'lint.ignore' ++ - 'unfixable' -> 'lint.unfixable' ++ - 'mccabe' -> 'lint.mccabe' ++All checks passed! ++ ++ruff-format..............................................................Failed ++- hook id: ruff-format ++- files were modified by this hook ++ ++warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`: ++ - 'extend-select' -> 'lint.extend-select' ++ - 'ignore' -> 'lint.ignore' ++ - 'unfixable' -> 'lint.unfixable' ++ - 'mccabe' -> 'lint.mccabe' ++12 files left unchanged ++ ++mypy.....................................................................Failed ++- hook id: mypy ++- files were modified by this hook ++ ++Success: no issues found in 12 source files ++ ++trim trailing whitespace.................................................Failed ++- hook id: trailing-whitespace ++- files were modified by this hook ++fix end of files......................................................... ++Failed ++- hook id: end-of-file-fixer ++- exit code: 1 ++- files were modified by this hook ++ ++Fixing pre-commit.log ++ ++poetry-lock..............................................................Failed ++- hook id: poetry-lock ++- files were modified by this hook ++ ++Resolving dependencies... (0.0s) Resolving dependencies... (0.1s) Resolving dependencies... (0.2s) Resolving dependencies... (0.3s) Resolving dependencies... (0.4s) Resolving dependencies... (0.5s) Resolving dependencies... (0.6s) Resolving dependencies... (0.8s) Resolving dependencies... (0.9s) Resolving dependencies... (1.0s) Resolving dependencies... (1.1s) Resolving dependencies... (1.2s) Resolving dependencies... (1.3s) Resolving dependencies... (1.4s) Resolving dependencies... (1.5s) Resolving dependencies... (1.6s) Resolving dependencies... (1.7s) Resolving dependencies... (1.8s) Resolving dependencies... (1.9s) Resolving dependencies... (2.0s) Resolving dependencies... (2.1s) Resolving dependencies... (2.2s) ++ ++poetry-check.............................................................Failed ++- hook id: poetry-check ++- files were modified by this hook ++ ++All set! ++ ++mypy.....................................................................Failed ++- hook id: mypy ++- files were modified by this hook ++ ++Success: no issues found in 12 source files ++ ++pre-commit hook(s) made changes. ++If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`. ++To run `pre-commit` as part of git workflow, use `pre-commit install`. ++All changes made by hooks: