Commit Graph

42 Commits

Author SHA1 Message Date
Takashi Kajinami 8d94ecfe01 Remove old excludes
These are detected as errors since the clean up was done[1] in
the requirements repository.

[1] 314734e938f107cbd5ebcc7af4d9167c11347406

Change-Id: I7e8461d3b8ba90d3ae473d96c29b54bb6f719739
2024-04-30 18:18:30 +09:00
Takashi Kajinami 4e14db5c24 Bump hacking
hacking 4.0.x is very old.

Change-Id: I39976bf2842773453bbf5904791df8c10f7e920c
2024-01-28 16:00:59 +09:00
Stephen Finucane cad3f62cda trivial: Bump hacking to 4.x
We also remove a now-useless requirement from 'test-requirements' since
that stuff is handled by pre-commit.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I324251c28f9fd6b61909e5288974b96f804ec19d
2021-04-16 12:17:19 +01:00
Wander Way 4373f93229 Uncap PrettyTable
This is now maintained as a Jazzband project [1].

[1] https://github.com/jazzband/prettytable

Change-Id: I2e28cda2a0fec1d79fe8da5dbaff0fb5dd23c972
2021-03-11 17:36:00 +00:00
Hervé Beraud d6c466197c Adding pre-commit
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: I3a8d6c282a1ec8189f4150a5e5391a94591cff9d
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
2020-09-22 10:46:49 +02:00
Andreas Jaeger 4836b632dd Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

blacklist:
W504 line break after binary operator
E731 do not assign a lambda expression, use a def

Change-Id: I5099674e8813a070f34ba4fa4a26f2b61acad925
2020-03-30 11:57:06 +00:00
Monty Taylor 79f240b79f Make PrettyTable optional
PrettyTable as a depend can have a tendency to conflict with other
things that want to use it, which is a shame for a general purpose
library like futurist. Make it optional to reduce the transitive
dependency burden for consumers.

Change-Id: Ie976f7f4e544f273fccf0cf579b82b659cbd48d1
2020-03-03 15:51:32 -06:00
Vu Cong Tuan ac1e5304d7 Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I74706b3551bf0a9a56deca090d744d3156a34aa8
2018-07-11 09:46:23 +07:00
Nguyen Van Trung 880d7122b8 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more details information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: Ib36e24d0b38356790993fec24b8280464645bd29
2018-07-09 16:18:03 +07:00
Doug Hellmann 14508df027 fix lower constraints and uncap eventlet
Fix the lower constraints to make them match the expected values.

We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.

Change-Id: I1a01264d7f69a041a106813e3ad33577d2757564
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-12 10:44:50 -04:00
OpenStack Proposal Bot f35cbc292a Updated from global requirements
Change-Id: Ic93b150fabf0ad06b4079782f5f854690b9158dd
2018-03-15 06:54:51 +00:00
OpenStack Proposal Bot 1eb7719126 Updated from global requirements
Change-Id: I3427caa6afa2c9476b94fc78e3e0b5d0f95ca27d
2018-01-24 00:52:49 +00:00
OpenStack Proposal Bot dc9d007332 Updated from global requirements
Change-Id: Iae5b8bea5293b6f75acf6c162f8c61f074b1c592
2018-01-17 20:32:14 +00:00
OpenStack Proposal Bot 272dcf36f7 Updated from global requirements
Change-Id: Ieeb0248ed993de7e831ae01151d876465818e29a
2018-01-16 04:05:41 +00:00
OpenStack Proposal Bot 93a46662cc Updated from global requirements
Change-Id: I90cba67f30541800687fef9983125b8038ab496c
2017-11-16 11:02:50 +00:00
OpenStack Proposal Bot 32649363fe Updated from global requirements
Change-Id: I7b51e3d96f28d8814a50dc9500acde4aaf7d91ed
2017-09-20 16:13:36 +00:00
OpenStack Proposal Bot deaa1b6301 Updated from global requirements
Change-Id: If0f92733961c21986d907d629f921ad35853af1c
2017-08-18 11:29:32 +00:00
OpenStack Proposal Bot dffbd33202 Updated from global requirements
Change-Id: If2eec26de3df41455eb759ccd270d623ef5df2be
2017-07-27 19:09:06 +00:00
Akihiro Motoki 3b7dbd6ff8 Switch from oslosphinx to openstackdocstheme
Change-Id: Ie58f20d819cbcdeb020403ba42d3dba3c958ba25
2017-07-08 22:24:55 +00:00
OpenStack Proposal Bot 41709d75e8 Updated from global requirements
Change-Id: I364c8d43a6b6f28427bdfbb4b459a6a9c428b532
2017-06-27 12:09:35 +00:00
OpenStack Proposal Bot 6e42b13d75 Updated from global requirements
Change-Id: I2f26da82fad102d57a3be47e06214521eae0b851
2017-06-10 13:25:49 +00:00
OpenStack Proposal Bot 132689ba60 Updated from global requirements
Change-Id: I0461a95a8435879fb6831124c1755faaf5047403
2017-06-02 21:54:56 +00:00
OpenStack Proposal Bot dcfafc95f4 Updated from global requirements
Change-Id: I7f82400dd3850c9a2e2fbe5eb3c42ffcb4f7c503
2017-05-17 13:38:43 +00:00
OpenStack Proposal Bot a6e6207172 Updated from global requirements
Change-Id: I72a01ee0b1482aea1f11e8b9e1630a051b36acd6
2017-02-10 05:48:25 +00:00
OpenStack Proposal Bot 851f1bc504 Updated from global requirements
Change-Id: I9f0a1ae793c3db0f452979a59cce226b9eebc64f
2016-11-02 15:31:17 +00:00
ChangBo Guo(gcb) 20342282a2 Add reno for release notes management
The release management team have indicated this is their preferred way
to collect release notes in future.

Closes-Bug: #1634356

Change-Id: Iabdf3aeaab725fcbbe21e49fd7f60211cb796b68
2016-11-01 16:14:37 +08:00
OpenStack Proposal Bot 68f74b7d8c Updated from global requirements
Change-Id: I06e9f75c924dd6d8dab4b16558f1ccb1ed4baa97
2016-10-22 01:18:42 +00:00
OpenStack Proposal Bot 2200490f7c Updated from global requirements
Change-Id: Ia676a9f6b04a69ed15091242872290484ed3dd28
2016-09-28 16:52:28 +00:00
Thomas Bechtold 2a0d270290 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: Ia5e885b409f42c0bee37f91a37042982087f17e9
2016-07-14 07:40:33 +02:00
OpenStack Proposal Bot c7c67ca34f Updated from global requirements
Change-Id: Ib876054cc0e9754c73383e0fde8ffb067e095b21
2016-06-21 17:58:42 +00:00
OpenStack Proposal Bot d750d05b7b Updated from global requirements
Change-Id: I9e3931c02e490775c8ca164ccd4cc9f9f9d0d085
2016-02-19 18:50:24 +00:00
OpenStack Proposal Bot cc7bc7017a Updated from global requirements
Change-Id: I1b917be8fc98934141e20032ba4b7a374145dc61
2016-02-11 14:45:35 +00:00
OpenStack Proposal Bot 7361553319 Updated from global requirements
Change-Id: Ibb973cd6e48441e461addd2a8b818f4738a2e4d3
2016-01-24 20:48:25 +00:00
OpenStack Proposal Bot 9c2a1a184c Updated from global requirements
Change-Id: I32ac08430f35278356061cff0120e841a09f3983
2016-01-17 01:10:09 +00:00
OpenStack Proposal Bot e7c5b13bd3 Updated from global requirements
Change-Id: I12c83ddb8e5c26ea5734d240500183ab014c3b95
2015-11-19 15:45:01 +00:00
OpenStack Proposal Bot 74fabc18ca Updated from global requirements
Change-Id: Ief5f60bc8c37aa8b5296d8e61f8c46fa27b11225
2015-08-04 00:44:08 +00:00
OpenStack Proposal Bot 1151635aac Updated from global requirements
Change-Id: I549fb85dc6b190f9aadf6713b5119c62083c0845
2015-07-29 03:45:55 +00:00
Joshua Harlow 5c3530a483 Move doc8 to being a normal test requirement in test-requirements.txt
Change-Id: I774af3f8e59281f4f32d5124c5ffbab5fc186460
2015-07-16 14:45:43 -07:00
OpenStack Proposal Bot d9622e7c34 Updated from global requirements
Change-Id: Ieff261df23f052b0130bd99497776401c9841065
2015-07-15 01:31:53 +00:00
OpenStack Proposal Bot e98692eb3d Updated from global requirements
Change-Id: I385a8513e2a20ab05b2a089e4318141e1c5a198d
2015-06-25 06:53:04 -04:00
Joshua Harlow cba2ef8169 Add some basic tests to ensure executors work
Change-Id: Ic6f6f87f0212545488d65d3a98e2a8741c9fda53
2015-06-07 09:21:26 -07:00
Joshua Harlow 0d362d3078 Add initial .gitreview file and cookie-cutter template
Bootstrap the futurist project by using the cookiecutter
template. So that the CI jobs have all the things they
need and it follows the patterns used by all other oslo
/openstack libraries.

Change-Id: I738f68448e64e14725afc5e9c998751e081e7f07
2015-06-02 09:22:45 -04:00