Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
Packaging updates to support newer versions
Browse files Browse the repository at this point in the history
Fixes #12

Signed-off-by: Sylvain Hellegouarch <[email protected]>
  • Loading branch information
Lawouach committed Apr 2, 2023
1 parent 8d6f35f commit 09b62cc
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 9 deletions.
4 changes: 0 additions & 4 deletions .flake8

This file was deleted.

2 changes: 2 additions & 0 deletions .ruff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
extend-exclude = [".venv"]
ignore = ["E501"]
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## [Unreleased]

### Changed

- Swaped flake8 for ruff to remove an issue with flake8 being stuck with an
old dependency on Python 3.7. Bonus point, ruff is much faster. #12
- Updated Python version pattern matching in `setup.py` to work with most recent
changes in the Python packaging world

## [0.1.8][] - 2023-03-07
[0.1.8]: https://github.com/awslabs/aws-az-failure-chaostoolkit/tree/v0.1.8

Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ install-dev: install
fmt:
isort .
black .
ruff --fix azchaosaws/ tests/

.PHONY: lint
lint:
flake8 azchaosaws/ tests/ --count --statistics
ruff azchaosaws/ tests/

.PHONY: test
test:
Expand Down
4 changes: 2 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ coverage
pytest>=2.8
pytest-cov
black
flake8
wheel
isort
isort
ruff
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
chaostoolkit-lib>=1.1.2,<1.31.1
chaostoolkit-lib>=1.1.2
logzero>=1.7.0,<2.0.0
boto3>=1.18.32,<2.0.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
install_requires=install_require,
tests_require=test_require,
setup_requires=pytest_runner,
python_requires=">=3.7.*",
python_requires=">=3.7",
)


Expand Down

0 comments on commit 09b62cc

Please sign in to comment.