Skip to content

Commit 84b8b83

Browse files
Apply suggestions from code review
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
1 parent a14a6fb commit 84b8b83

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ You can use [this PR](https://github.com/antonbabenko/pre-commit-terraform/pull/
169169

170170
Make sure that all checks pass.
171171

172-
4. (Optional): If you want to see more details on MyPy checks, you can run:
172+
4. (Optional): If you want to limit the checks to MyPy only, you can run:
173173

174174
```bash
175175
tox r -qq -e pre-commit -- mypy --all-files

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ commands =
2929
commands_post =
3030
# Create GHA Job Summary markdown table of the coverage report
3131
# https://github.blog/news-insights/product-news/supercharging-github-actions-with-job-summaries/
32-
# '-' ignores non-zero exit code
32+
# a leading '-' suppresses non-zero return codes
3333
-{envpython} \
3434
{[python-cli-options]byte-errors} \
3535
{[python-cli-options]max-isolation} \
@@ -193,7 +193,7 @@ commands =
193193
{posargs:--all-files}
194194

195195
# Print out the advice on how to install pre-commit from this env into Git:
196-
# '-' ignores non-zero exit code
196+
# a leading '-' suppresses non-zero return codes
197197
-{envpython} \
198198
{[python-cli-options]byte-errors} \
199199
{[python-cli-options]max-isolation} \
@@ -227,7 +227,7 @@ commands_post =
227227
); \
228228
print("codecov-flags=MyPy", file=gh_output_fd); \
229229
gh_output_fd.close()'
230-
#
230+
# Publish available MyPy-produced text and JSON reports wrapped as Markdown code blocks, to a GHA job summary
231231
{envpython} \
232232
{[python-cli-options]byte-errors} \
233233
{[python-cli-options]max-isolation} \

0 commit comments

Comments
 (0)