Skip to content

How do I ignore all Python files in project root? #13730

Answered by MichaReiser
elliot-100 asked this question in Q&A
Discussion options

You must be logged in to vote

Excluding files in project root and/or

I'm not sure I understand what you're trying to do. Do you want to exclude specific files or all files in the root directory?

I think the following allows to only include python files that are in a subdirectory but not files that are in the root directory.

include = ["*/**/*.py"]

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by elliot-100
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants