Skip to content

Commit b11c288

Browse files
authored
Version 0.21.0 release (#1659)
* Version 0.21.0 release * Fix CI * Fix CI * Fix CI
1 parent 2717d1f commit b11c288

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.github/workflows/test.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
25+
task: ['tests', 'typesafety']
2526

2627
steps:
2728
- uses: actions/checkout@v3
@@ -55,6 +56,7 @@ jobs:
5556
poetry run pip install -U pip
5657
5758
- name: Run tests
59+
if: matrix.task == 'tests'
5860
run: |
5961
poetry run flake8 .
6062
@@ -74,11 +76,14 @@ jobs:
7476
poetry run safety check --full-report
7577
poetry run python -m slotscheck returns --verbose
7678
79+
- name: Run typesafety tests
80+
if: matrix.task == 'typesafety'
81+
run: |
7782
# We do this to speed up the build:
7883
poetry run pytest typesafety -p no:cov -o addopts="" --mypy-ini-file=setup.cfg
7984
8085
- name: Upload coverage to Codecov
81-
if: ${{ matrix.python-version }} == 3.8
86+
if: "matrix.task == 'tests' && matrix.python-version == 3.11"
8287
uses: codecov/codecov-action@v3
8388
with:
8489
file: ./coverage.xml

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ incremental in minor, bugfixes only are patches.
66
See [0Ver](https://0ver.org/).
77

88

9+
## 0.21.0
10+
11+
### Features
12+
13+
- Now requires `mypy>=1.4`
14+
- Adds `[compatible-mypy]` extra for installation
15+
16+
917
## 0.20.1
1018

1119
### Bugfixes

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "returns"
3-
version = "0.20.1"
3+
version = "0.21.0"
44
description = "Make your functions return something meaningful, typed, and safe!"
55
license = "BSD-3-Clause"
66

0 commit comments

Comments
 (0)