ansys / ansys-templates

A tool for creating new projects according to Ansys guidelines
https://templates.ansys.com
MIT License
11 stars 4 forks source link

feat: add autoflake to .pre-commit-config.yaml files #453

Open anscfrisson opened 4 months ago

anscfrisson commented 4 months ago

This will save us time fixing issues raised by flake.

anscfrisson commented 4 months ago

@ansys/solution-maintainers

I would appreciate your insight on the failing check: basic_solution_validation — End-to-end tests with SAF Solution.

style: commands[1]> pre-commit run --all-files --show-diff-on-failure
An error has occurred: InvalidConfigError: 
==> File .pre-commit-config.yaml
==> At Config()
==> At key: repos
==> At Repository(repo='https://github.com/PyCQA/autoflake')
==> At key: hooks
==> At Hook(id=MISSING)
=====> Missing required key: id
Check the log at /home/runner/.cache/pre-commit/pre-commit.log

Notes: