https://github.com/valohai/gitignorant
A spec-compliant .gitignore file parser and matcher
https://github.com/valohai/gitignorant
gitignore hacktoberfest
Last synced: about 2 months ago
JSON representation
A spec-compliant .gitignore file parser and matcher
- Host: GitHub
- URL: https://github.com/valohai/gitignorant
- Owner: valohai
- License: mit
- Created: 2021-10-06T12:38:44.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-03T12:45:52.000Z (9 months ago)
- Last Synced: 2025-08-02T09:38:38.450Z (2 months ago)
- Topics: gitignore, hacktoberfest
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 6
- Watchers: 9
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gitignorant
Gitignorant is (aspires to be)
* a [spec]-compliant .gitignore file parser and matcher
* for Python 3.7 and newer
* with full type hinting and test coverage
* and nothing you don't need## Features
* Parses .gitignore (and .gitignore style) files
* Matches against list of parsed rules with the same
semantics as Git ("last rule wins")## Unfeatures
* Trees of .gitignore files are not directly supported,
but can be supported by client code.[spec]: https://git-scm.com/docs/gitignore