Skip to content

Commit

Permalink
Update exclusions from pre-commit checks and ognore autogenerated dir…
Browse files Browse the repository at this point in the history
…ectories. (#184)

Ignoring the generated build/ directory.
Porting the exclusion of Perl modules and scripts from the 'cif-data' branch.


Co-authored-by: Saulius Grazulis <[email protected]>
  • Loading branch information
sauliusg and Saulius Grazulis authored Nov 9, 2023
1 parent 8973a8e commit 56c5901
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ __pycache__

!test-cif/**/*.cif
!tests/**/*.dic

dic2owl/build/
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repos:
files: ^.*requirements.*\.txt$
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
exclude: ^.*(\.ttl|\.cif)$
exclude: ^(.*(\.ttl|\.cif|\.pm)|scripts/.*)$

- repo: https://github.com/ambv/black
# Keep at 23.3.0 to support Python 3.7
Expand Down

0 comments on commit 56c5901

Please sign in to comment.