Files
oslo.versionedobjects/.pre-commit-config.yaml
Daniel Bengtsson a1ecfaa872 Move flake8 as a pre-commit local target.
The goal here is to avoid conflicts between flake8 and hacking version each
2 days.

Inspired from nova's approach[1].

The flake8 version to install will be determined by hacking and
requirements[2] will stay aligned instead of relying on different versions.

[1] https://opendev.org/openstack/nova/src/branch/master/.pre-commit-config.yaml#L26-L35
[2] https://opendev.org/openstack/hacking/src/branch/master/requirements.txt#L1

Change-Id: Ie89835eb10a2211abad4d67b23ea8165daca37d2
2021-03-23 13:10:54 +01:00

1.3 KiB