Skip to content

Commit

Permalink
switched to ruff for linting
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
  • Loading branch information
Lawouach committed Aug 1, 2023
1 parent 6032774 commit 93b5486
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

[Unreleased]: https://github.com/chaostoolkit-incubator/chaostoolkit-opentracing/compare/0.10.0...HEAD

### Changed

- Switched from flake8/pycodestyle to ruff

## [0.10.0][] - 2023-04-12

[0.10.0]: https://github.com/chaostoolkit-incubator/chaostoolkit-opentracing/compare/0.9.1...0.10.0
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ install-dev: install

.PHONY: lint
lint:
flake8 chaostracing/ tests/
ruff chaostracing/ tests/
isort --check-only --profile black chaostracing/ tests/
black --check --diff chaostracing/ tests/

.PHONY: format
format:
isort --profile black chaostracing/ tests/
black chaostracing/ tests/
ruff chaostracing --fix

.PHONY: tests
tests:
Expand Down
4 changes: 1 addition & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
coverage
pycodestyle
pytest>=2.8
pytest-cov
pytest-sugar
requests
requests_mock
flake8
black
isort
pyflakes==2.4.0
ruff

0 comments on commit 93b5486

Please sign in to comment.