Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix check-json failing on ci runs #601

Merged
merged 1 commit into from May 15, 2021

Conversation

ibLeDy
Copy link
Contributor

@ibLeDy ibLeDy commented May 15, 2021

I see that this pattern is used to avoid this kind of issues, so I did the same.

- file_name.ext
+ file_name.notext
  • mv duplicated_key_json.{,not}json
  • change reference to the file in tests/check_json_test.py

Fixes #600

- `mv duplicated_key_json.{json,notjson}`
- change reference to the file in `tests/check_json_test.py`

Fixes pre-commit#600
@ibLeDy ibLeDy changed the title Rename file causing check-json to fail Fix check-json failing on ci runs May 15, 2021
Copy link
Member

@asottile asottile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asottile asottile merged commit dd34447 into pre-commit:master May 15, 2021
@ibLeDy ibLeDy deleted the fix/check-json-hook-failing branch October 14, 2021 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Check JSON hook failing because of file used in tests
2 participants