Skip to content

Commit

Permalink
combine ruff and black in lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
crccheck committed Sep 8, 2023
1 parent 4fd457a commit dd346f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.11"
- run: pip install black
- run: black --check .
- run: pip install -r requirements.txt
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ test: ## Run test suite
coverage report

lint: ## Run lint check
black --check .
ruff check .

# Bump project_runpy.__version__
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
black
coverage
ruff

0 comments on commit dd346f6

Please sign in to comment.