poetry-plugin-export
poetry-plugin-export copied to clipboard
Make pre-commit hook regex more precise
In regular expressions, the dot . is a metachar that matches every char. To match the literal dot it must be escaped \..
Without the escape, that regex would match unintended filenames, such as poetry-lock, poetry_lock, poetryblock, poetryclock and other variations.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication