-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from pyupio/feature/poetry-parse-support
Poetry parse support
- Loading branch information
Showing
7 changed files
with
272 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals, absolute_import | ||
|
||
|
||
class UnknownDependencyFileError(Exception): | ||
""" | ||
""" | ||
pass | ||
def __init__(self, message="Unknown File type to parse"): | ||
self.message = message | ||
super().__init__(self.message) | ||
|
||
|
||
class MalformedDependencyFileError(Exception): | ||
|
||
def __init__(self, message="The dependency file is malformed. {info}", | ||
info=""): | ||
self.message = message.format(info=info) | ||
super().__init__(self.message) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ | |
tox_ini = "tox.ini" | ||
pipfile = "Pipfile" | ||
pipfile_lock = "Pipfile.lock" | ||
poetry_lock = "poetry.lock" |
Oops, something went wrong.