mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-09 04:54:16 +00:00
coverage fix
This commit is contained in:
parent
c58ae08fed
commit
81bd74d9c3
1 changed files with 0 additions and 6 deletions
|
|
@ -12,12 +12,6 @@ class Requirement(object):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
if self.value is None:
|
|
||||||
return
|
|
||||||
|
|
||||||
if self.value == b'\n':
|
|
||||||
return
|
|
||||||
|
|
||||||
if self.value.startswith(b'-e '):
|
if self.value.startswith(b'-e '):
|
||||||
return self.value.lower().partition(b'=')[-1]
|
return self.value.lower().partition(b'=')[-1]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue