pre-commit: black hook excluded non-existent ci/mirroring/scripts/prepare_import_paths.py

Open Beginner friendly
#3,037 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
ci-cd

Research direction

Start by locating the pre-commit configuration and the Black hook's exclude list, then inspect the check-useless-excludes and fix_lint behavior described in the issue. Remove or correct the exclusion for ci/mirroring/scripts/prepare_import_paths.py, and verify that fix_lint completes without fail-fast stopping the remaining build and test checks.

Written by the indexing model from the issue text.

Description

The black hook excluded ci/mirroring/scripts/prepare_import_paths.py, but that file doesn't exist. The check-useless-excludes hook fails on excludes that match no file, so fix_lint failed and fail-fast cancells the rest of the build/test run.

Dominant language
Python
Stars
730
Forks
574
Avg merge
5h 45m
Merged PRs (30d)
16

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from snowflakedb/snowflake-connector-python

All issues in snowflakedb/snowflake-connector-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.