This change updates the pre-commit-config file following the recent
update made in some other repos.
Change-Id: I8a2bfeac0f4d6e5c7f284f4bcfdcb0c09adefe35
As per the current release tested runtime, we
need to test python 3.8 to python 3.11 so using the
generic python testing template which run the python
versions jobs as per the current release runtime.
Also, updating the same in python classifier in setup.cfg
Change-Id: Iacd2a060b8a7676ced37cde18d80f260fcbffefa
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: I99dfcd2b430dabeb35f54fdffbaaefc0b905b8ea
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: I2a158156eba8d8e2912d3917426bf4997aee6745
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I92c911b6a05cedad3a0ffab84c7bcc5a932bf649
In Zed cycle testing runtime, we are targetting to drop the
python 3.6/3.7 support, project started adding python 3.8 as minimum,
example nova:
- 56b5aed08c/setup.cfg (L13)
Also indicates that we support python 3.9.
Change-Id: I6a9b2f731b8aec8076c79b48350431f5552ba267
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: I32bc070a02163ba6274730c26648eb0ef5598477
Both the 'FiniteMachine' and 'HierarchicalFiniteMachine' in
'automaton.machines' define an 'Effect' attribute. It seems recent
versions of autodoc can't handle this since we're seeing the following
warning:
automaton/machines.py:docstring of
automaton.machines.Effect:1:duplicate object description of
automaton.machines.Effect, other instance in reference/index, use
:noindex: for one of them
Do as it says and configure 'noindex' for the latter. This means we lose
the ability to link to other members of this class but that's a
necessary compromise since there's no way to exclude an individual
member.
Change-Id: Ic9e50f6b56a278032463357552960e40c2ddf6a7
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Add file to the reno documentation build to show release notes for
stable/xena.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.
Sem-Ver: feature
Change-Id: I202f902a402148fa943467aa24259e40de4a7ef4
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I53a24ff7f9984997a16f436d9e6c62605e90d9e5
Add file to the reno documentation build to show release notes for
stable/wallaby.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.
Sem-Ver: feature
Change-Id: Ibdf3450aa4921c52b775377f31c5468ce611cdce
These were missed in change I2706e8af350d07e51169f8bc13c7404d4696b2a2
Change-Id: Ie6e15bdc948dcc918fd2eff344f804ac93434f1b
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This is now maintained as a Jazzband project [1].
[1] https://github.com/jazzband/prettytable
Change-Id: I13d782b4b1be7556c3a7cde344a38748d31a249c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
We facing errors related to the new pip resolver, this
topic was discussed on the ML and QA team proposed to
to test lower-constraints [1].
I propose to drop this test because the complexity and recurring pain needed
to maintain that now exceeds the benefits provided by this mechanismes.
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html
Change-Id: I2706e8af350d07e51169f8bc13c7404d4696b2a2
We run on Python 3 only, time to remove six dependency
Also fix l-c for new pip-resolver and move pep8 deps
in tox.ini to avoid conflicts.
And since we're here, update pre-commit config to support correct
hacking version.
Change-Id: Ibbe733c4be37d1a9dd9149d491591ef2e50dad6a
Introduced changes:
- pre-commit config and rules
- Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit hooks.
- Applying fixes for pre-commit compliance in all code.
Also commit hash will be used instead of version tags in pre-commit to
prevend arbitrary code from running in developer's machines.
pre-commit will be used to:
- trailing whitespace;
- Replaces or checks mixed line ending (mixed-line-ending);
- Forbid files which have a UTF-8 byte-order marker (check-byte-order-marker);
- Checks that non-binary executables have a proper
shebang (check-executables-have-shebangs);
- Check for files that contain merge conflict strings (check-merge-conflict);
- Check for debugger imports and py37+ breakpoint()
calls in python source (debug-statements);
- Attempts to load all yaml files to verify syntax (check-yaml);
- Run flake8 checks (flake8) (local)
For further details about tests please refer to:
https://github.com/pre-commit/pre-commit-hooks
Change-Id: I1e4625d34ed08218dd7069402a1eff1418f4ec35
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
Add file to the reno documentation build to show release notes for
stable/victoria.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.
Change-Id: I9f7f44ad0787ae3f2519287bf73cd1395a8474a6
Sem-Ver: feature
This updates the lower constraints packages with only things that are
currently pulled in with the latest necessary requirements. It also
removes linters that are part of the blacklist in global requirements as
those are not needed for tracking.
Change-Id: Iffa3a1caaa14b7367991e24eb2cfaf9332736701
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints.
These changes will help us to drop `mock` from openstack/requirements
Change-Id: Ide97d869c5e56e56e2a522f198f0973504972697