What's Changed
* Update pre-commit config by fsouza in https://github.com/PyCQA/autoflake/pull/295
* github/workflows/main: use `pre-commit/action` by fsouza in https://github.com/PyCQA/autoflake/pull/297
* Always set encoding when reading `setup.cfg` by fsouza in https://github.com/PyCQA/autoflake/pull/296
* Bump to v2.3.1 by fsouza in https://github.com/PyCQA/autoflake/pull/298
**Full Changelog**: https://github.com/PyCQA/autoflake/compare/v2.3.0...v2.3.1