Add ability to ignore file patterns
See original GitHub issueFlycheck for python generates temp files for each change done in the file even if the file has not been saved. So my_file.py will generate flycheck_my_file.py. As far as I can tell there is no way to change the path or extension of these files.
This creates a problem with pytest-watch. Whenever I change anything it runs the tests even if I havent saved the file. I would really like it to only run on file save. What would be nice was if --ignore
could also ignore files by pattern similar to how .gitignore works. So I could run ptw --ignore flycheck*
and not trigger a test when the flycheck files are generated.
Regardless, I am loving this tool. Thanks for developing it.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:11
- Comments:6
Top Results From Across the Web
Add ability to ignore a file or directory without modifying it #4675
ini with ignore_errors = True -- see config file docs. I have a django codebase, where mypy is catching type errors in auto-generated...
Read more >.gitignore File – How to Ignore Files and Folders in Git
It's a best practice to create a .gitignore file with all the files and the different file patterns you want to ignore when...
Read more >Ignoring Files and Directories in Git with .gitignore
You can create files which contain a list of patterns which git will check against on each git add and ignore any matching...
Read more >Version Control with Git: Ignoring Things
With the Repository Settings pop-up open, click the Ignored Files tab. Here you will be able to add file names, directory names, or...
Read more >Ignoring Files in Git - Medium
Git has the ability to ignore any files, file patterns, or file extensions that you add to a .gitignore file.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Emacs lock files endlessly trigger test runs. Autosaves are less frequent but still thorny. It would be nice if
pytest-watch
could respect.gitignore
or custom regex/globs, eg:\#*\#
and.\#*
.bump