ni / ni/python-styleguide

nps does not honor .gitignore

Open
#319 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
21
Forks
20
Avg merge
22h 9m
Merged PRs (30d)
3

Description

Making nps honor .gitignore with a config option to explicitly include dirs/patterns would be a nice QoL improvement.

flake8 does not support this, but some linters like ruff have an option to respect .gitignore.

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.

Research direction

Start by locating nps's file-discovery and configuration entry points, then trace how it selects paths for linting. Add a configuration option for honoring .gitignore while allowing explicit directories or patterns to be included, and verify that ignored paths and explicit inclusions behave as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.