An open API service indexing awesome lists of open source software.

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

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