From deb34f51c260bab78dcf80d3988f90a25d448e2d Mon Sep 17 00:00:00 2001 From: Vladimir Chebotarev Date: Sun, 28 Aug 2022 11:03:29 +0300 Subject: [PATCH] Minor clean up. --- gitignorefile/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gitignorefile/__init__.py b/gitignorefile/__init__.py index af16c15..f5f237a 100644 --- a/gitignorefile/__init__.py +++ b/gitignorefile/__init__.py @@ -203,18 +203,16 @@ def _rule_from_pattern(pattern, source=None): regexp=regexp, negation=negation, directory_only=directory_only, - anchored=anchored, source=source, ) _IGNORE_RULE_FIELDS = [ "pattern", - "regexp", # Basic values + "regexp", "negation", "directory_only", - "anchored", # Behavior flags - "source", # (file, line) tuple for reporting + "source", # (file, line) ]