Skip to content

Commit 5116e0e

Browse files
committed
Version 1.7.0 release
1 parent 9384222 commit 5116e0e

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
name: test
22

3-
on: [push, pull_request, workflow_dispatch]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
workflow_dispatch:
49

510
jobs:
611
test:
712
runs-on: ubuntu-latest
13+
814
strategy:
915
matrix:
1016
python-version: [3.6, 3.7, 3.8, 3.9]

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Version history
22

33

4+
## Version 1.7.0
5+
6+
### Features
7+
8+
- Adds `--mypy-only-local-stub` CLI flag to ignore errors in site-packages
9+
10+
411
## Version 1.6.1
512

613
### Bugfixes

pytest_mypy_plugins/item.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,8 @@ def prepare_mypy_cmd_options(self, execution_path: Path) -> List[str]:
309309
python_version = ".".join([str(part) for part in sys.version_info[:2]])
310310
mypy_cmd_options.append(f"--python-version={python_version}")
311311

312-
# merge self.base_ini_fpath and self.additional_mypy_config into one file and copy to the typechecking folder
312+
# Merge `self.base_ini_fpath` and `self.additional_mypy_config`
313+
# into one file and copy to the typechecking folder:
313314
mypy_ini_config = ConfigParser()
314315
if self.base_ini_fpath:
315316
mypy_ini_config.read(self.base_ini_fpath)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
setup(
1515
name="pytest-mypy-plugins",
16-
version="1.6.1",
16+
version="1.7.0",
1717
description="pytest plugin for writing tests for mypy plugins",
1818
long_description=readme,
1919
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)