Skip to content

Commit 4e0ea5c

Browse files
authored
Release 0.0.10
### Added - Cisco WLC/AireOS Driver - [Poetry](https://python-poetry.org/) - `boot_options` property ### Changed - Super calls migrated to Python 3 syntax - Moved templates package inside of utils package - Moved converters package inside of utils package - Moved constants to modules that used them instead of having separate modules ### Deprecated - The `get_boot_options` method; replaced by `boot_options` property ### Removed - Support for Python 2 - `strip_unicode` function since support is not for Python 3 ### Fixed - All Unittests - IOS `enable` method failure condition when disabled
2 parents 0601995 + 753ab89 commit 4e0ea5c

File tree

92 files changed

+5339
-1103
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+5339
-1103
lines changed

.flake8

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[flake8]
2+
ignore = E203, E266, E501, W503
3+
# line length is intentionally set to 80 here because black uses Bugbear
4+
# See https://github.com/psf/black/blob/master/README.md\#line-length for more details
5+
max-line-length = 80
6+
max-complexity = 18
7+
select = B,C,E,F,W,T4,B9

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ coverage_html_report/
88
dist/
99
.cache/
1010
.idea/
11+
.vscode/
12+
.pytest_cache/

.travis.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@
22
language: python
33

44
python:
5-
- "2.7"
5+
- "3.6"
6+
- "3.7"
7+
- "3.8"
8+
69

710
install:
8-
- pip install --process-dependency-links ./
9-
- pip install coveralls
11+
# XXX: Migrate this to Poetry fully
12+
# Install Tox, which is currently our testrunner and helper
13+
- pip install tox
1014

1115
script:
12-
- coverage run -m unittest discover ./test/unit -v
16+
# Run all our tests
17+
- tox
1318

1419
after_success:
15-
- coveralls
20+
- coveralls

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,27 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/)
1313
### Security
1414

1515

16+
## [0.0.10]
17+
### Added
18+
- Cisco WLC/AireOS Driver
19+
- [Poetry](https://python-poetry.org/)
20+
- `boot_options` property
21+
### Changed
22+
- Super calls migrated to Python 3 syntax
23+
- Moved templates package inside of utils package
24+
- Moved converters package inside of utils package
25+
- Moved constants to modules that used them instead of having separate modules
26+
### Deprecated
27+
- The `get_boot_options` method; replaced by `boot_options` property
28+
### Removed
29+
- Support for Python 2
30+
- `strip_unicode` function since support is not for Python 3
31+
### Fixed
32+
- All Unittests
33+
- IOS `enable` method failure condition when disabled
34+
### Security
35+
36+
1637
## [0.0.9] - 2017-11-28
1738
### Added
1839
- Method to fully install an OS on a device.

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
unit_tests:
2-
coverage run -m unittest discover ./test/unit -v
2+
flake8 .
3+
black --check .
4+
coverage run -m pytest ./test/unit -v
35

46
coverage_report:
57
coverage report -m

0 commit comments

Comments
 (0)