You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the current behavior?
The example in the README appears to be incorrect or outdated. The parse_rule_file does not appear to exist. If I attempt to use this function, Python raises an error: AttributeError: 'IgnoreParser' object has no attribute 'parse_rule_file'.
**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Running Python in a directory with a .gitignore file:
>>> import igittigitt
>>> parser = igittigitt.IgnoreParser()
>>> parser.parse_rule_file(".gitignore")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'IgnoreParser' object has no attribute 'parse_rule_file'
What is the expected behavior?
I can't find any parse_rule_file function in the source code. Guessing parse_rule_files is the intended function to use.
What is the motivation / use case for changing the behavior?
I spent way too long trying to get this inexistant function working, And I'd rather no one else ever has to go through the pain again.
Please tell us about your environment:
Release Number of the Repository used : v2.0.4
Python Version : 3.9
OS, OS Version : Windows 10, build 20H2
Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow
, gitter, etc)
The text was updated successfully, but these errors were encountered:
**I'm submitting a ... **
Do you want to request a feature or report a bug?
Report a bug.
What is the current behavior?
The example in the README appears to be incorrect or outdated. The
parse_rule_file
does not appear to exist. If I attempt to use this function, Python raises an error:AttributeError: 'IgnoreParser' object has no attribute 'parse_rule_file'
.**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Running Python in a directory with a .gitignore file:
I can't find any
parse_rule_file
function in the source code. Guessingparse_rule_files
is the intended function to use.What is the motivation / use case for changing the behavior?
I spent way too long trying to get this inexistant function working, And I'd rather no one else ever has to go through the pain again.
Please tell us about your environment:
, gitter, etc)
The text was updated successfully, but these errors were encountered: