Skip to content

refactor: drop support for walking directories#42

Merged
jtrrll merged 6 commits intomainfrom
globs
Aug 4, 2025
Merged

refactor: drop support for walking directories#42
jtrrll merged 6 commits intomainfrom
globs

Conversation

@jtrrll
Copy link
Owner

@jtrrll jtrrll commented Aug 4, 2025

Description

snekcheck previously walked provided directories to find files to parse, but this bloated the scope of the tool by increasing the number of possible bugs and requiring extra filtering logic (--depth flag, .gitignore parsing, etc.). Walking directories should be the job of other purpose-built tools, and snekcheck should simply handle filename linting. As a result, directory walking was removed in favor of simply processing a list of filenames

Testing

Added specs

Related Issues

Closes #35
Closes #37

@jtrrll jtrrll enabled auto-merge (squash) August 4, 2025 03:38
@jtrrll jtrrll merged commit 0dd8ddf into main Aug 4, 2025
4 checks passed
@jtrrll jtrrll deleted the globs branch August 4, 2025 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use globs instead of filenames/dirnames Nested directories

1 participant