-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
173 additions
and
59 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
init: | ||
pip install -r requirements.txt | ||
pip install -r requirements_dev.txt | ||
|
||
test: | ||
run_tests: | ||
nosetests -v --with-coverage --cover-package pyais tests/*.py | ||
|
||
flake: | ||
python -m flake8 | ||
|
||
build: | ||
rm -rf dist/ && python setup.py sdist bdist_wheel | ||
|
||
check-build: | ||
twine check dist/* | ||
twine check dist/* | ||
|
||
test: run_tests flake |
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
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,6 +1,13 @@ | ||
class InvalidNMEAMessageException(Exception): | ||
"""Invalid NMEA Message""" | ||
pass | ||
|
||
|
||
class InvalidChecksumException(Exception): | ||
"""Invalid Checksum""" | ||
pass | ||
|
||
|
||
class UnknownMessageException(Exception): | ||
"""Message not supported yet""" | ||
pass |
Oops, something went wrong.