79480549

Date: 2025-03-03 09:00:27
Score: 1
Natty:
Report link

You can also use the inbuilt fail language of pre-commit. See the docs here. The step in your pre-commit.yaml would look like this:

- id: disallow-spaces-in-files
  name: Disallow spaces in files
  entry: files must not contain spaces
  language: fail
  files: '.*\s.*$'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: g3s1n3