-
Notifications
You must be signed in to change notification settings - Fork 60
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
19 changed files
with
128 additions
and
98 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 |
---|---|---|
|
@@ -4,4 +4,7 @@ | |
|
||
# macOS | ||
.DS_Store | ||
|
||
# Python | ||
env | ||
*.pyc |
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,17 +1,19 @@ | ||
language: python | ||
|
||
python: | ||
- "2.7" | ||
#- "3.5" | ||
# TravisCI uses Python 3.6.7 as of 2020-10-19 | ||
# python: | ||
# - "2.7" | ||
# - "3.5" | ||
|
||
# install dependencies | ||
install: "pip install -r requirements.txt" | ||
# Install dependencies | ||
install: | ||
- pip install -r requirements.txt | ||
|
||
# run tests | ||
# Run checks | ||
script: | ||
- nosetests code/* --with-coverage | ||
- nosetests -x --with-coverage code/* | ||
- flake8 --max-line-length=110 code | ||
|
||
# submit coverage report | ||
# Submit coverage report | ||
after_success: | ||
- coveralls |
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,4 +1,4 @@ | ||
from ilogger import ILogger | ||
from .ilogger import ILogger | ||
|
||
|
||
class MockUpLogger(ILogger): | ||
|
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,4 +1,4 @@ | ||
from ilogger import ILogger | ||
from .ilogger import ILogger | ||
|
||
|
||
class Logger(ILogger): | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# TODO | ||
|
||
## Next step | ||
|
||
- Fix issues with `flake8 --max-line-length=110 code` | ||
|
||
## Code | ||
|
||
* test GUI | ||
- optional | ||
- fix flake8 warning (newer version of flake8 and/or pycodestyle=2.4+) | ||
- remove log files in the end of the test (or create them in folder) | ||
- implement one more topic as an excersize | ||
- overall code cleaning | ||
|
||
## Infrastructure | ||
|
||
* update lab guides for Python language | ||
- decide whether to use Python virtualenv | ||
- change license to MIT or something like that | ||
- enable macOS testing on Travis CI | ||
|
||
# NOTES | ||
|
||
- Python virtual environment | ||
$ python3 -m venv tutorial-env | ||
$ source tutorial-env/bin/activate | ||
$ deactivate # if needed | ||
|
||
|
||
- Dependencies installation | ||
69 easy_install pip | ||
70 sudo easy_install pip | ||
95 pip install -r requirements.txt | ||
|
||
80 python -m pip install flake8 | ||
87 pip install zipp==0.5.0 | ||
88 pip install contextlib2 pathlib2 | ||
89 pip install configparser==3.5 | ||
99 PATH="/Users/kirill-personal/Library/Python/2.7/bin:$PATH" | ||
|
||
- list available versions of the package | ||
$ pip3 install flake8== |
Oops, something went wrong.