Skip to content

Commit

Permalink
Release v1.1.1 (#40)
Browse files Browse the repository at this point in the history
Release v1.1.1
  • Loading branch information
sco1 committed Dec 8, 2019
2 parents 7e84e07 + bcdcb45 commit 961819a
Show file tree
Hide file tree
Showing 38 changed files with 1,735 additions and 936 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ venv/
ENV/
env.bak/
venv.bak/
.python-version

# jetbrains
.idea/
Expand All @@ -39,3 +40,4 @@ test-*.xml
coverage.xml
cov.xml
htmlcov
.pytest_cache/
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
# Changelog
Versions follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html) (`<major>`.`<minor>`.`<patch>`)

## [v1.1.1]
### Added
* Add [`pipenv-setup`](https://github.com/Madoshakalaka/pipenv-setup) as a dev dependency & CI check to ensure synchronization between `Pipfile` and `setup.py`
* Add [tox](https://github.com/tox-dev/tox) configuration for local testing across Python versions
* Add test for checking a single yield of TYP301 per function
* Add coverage reporting to test suite
* Add testing for positional only arguments

### Changed
* [`typed_ast`](https://github.com/python/typed_ast) is now required only for Python versions `< 3.8`
* Update flake8 minimum version to `3.7.9` for Python 3.8 compatibility
* #50 Completely refactor test suite for maintainability

### Fixed
* Fix mixed type hint tests not being run due to misnamed test class
* Fix `TYP301` classification issue where error is not yielded if the first argument is type annotated and the remaining arguments have type comments

## [v1.1.0]
### Added
* #35: Issue templates
Expand Down
22 changes: 12 additions & 10 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,28 @@ verify_ssl = true
name = "pypi"

[packages]
flake8 = "~=3.7.8"
flake8-annotations = {path = ".",editable = true}
typed-ast = "~=1.4"
flake8 = "~=3.7.9"
typed-ast = {version = "~=1.4", markers="python_version < '3.8'"}

[dev-packages]
flake8-annotations = {path = ".",editable = true}
flake8-bugbear = "~=19.8"
flake8-docstrings = "~=1.4"
flake8-docstrings = "~=1.5"
flake8-formatter-junit-xml = "~=0.0"
flake8-import-order = "~=0.18"
flake8-string-format = "~=0.2"
flake8-tidy-imports = "~=2.0"
flake8-tidy-imports = "~=3.1"
flake8-todo = "~=0.7"
pre-commit = "~=1.18"
pytest = "~=5.1"
pipenv-setup = "~=2.2"
pre-commit = "~=1.20"
pytest = "~=5.3"
pytest-check = "~=0.3"
pytest-cov = "~=2.7"
pytest-cov = "~=2.8"
tox = "~=3.14"

[scripts]
lint = "flake8"
check_metadata = "python setup.py --quiet check --metadata --strict"
precommit = "pre-commit install"
test = "pytest"
coverage = "pytest --cov=flake8_annotations testing/ --cov-branch --cov-report term-missing"
test = "tox"
coverage = "pytest --cov=flake8_annotations --cov=testing testing/ --cov-branch --cov-report term-missing"
Loading

0 comments on commit 961819a

Please sign in to comment.