Skip to content

Commit

Permalink
add safe.directory to make lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pindge committed May 31, 2022
1 parent 1676210 commit 9d6222a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ jobs:
make build
docker-compose up -d
- name: work around permission issue
run: docker-compose run explorer \
git config --global --add safe.directory /code

- name: Run linting
run: |
make lint-docker
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ format: ## Reformat all Python code

.PHONY: lint
lint: ## Run all Python linting checks
git config --global --add safe.directory /code
python3 setup.py check -rms
pre-commit run -a

Expand Down

0 comments on commit 9d6222a

Please sign in to comment.