Anthony Sottile
39a43dbae1
Merge pull request #5575 from bluetech/mypy-initial
...
Add rudimentary mypy type checking
2019-07-09 08:05:14 -07:00
Ran Benita
c1167ac552
Add rudimentary mypy type checking
...
Add a very lax mypy configuration, add it to tox -e linting, and
fix/ignore the few errors that come up. The idea is to get it running
before diving in too much.
This enables:
- Progressively adding type annotations and enabling more strict
options, which will improve the codebase (IMO).
- Annotating the public API in-line, and eventually exposing it to
library users who use type checkers (with a py.typed file).
Though, none of this is done yet.
Refs https://github.com/pytest-dev/pytest/issues/3342 .
2019-07-09 10:49:17 +03:00
Bruno Oliveira
e33736c791
Merge master into features ( #5559 )
...
Merge master into features
2019-07-08 17:26:49 -03:00
Bruno Oliveira
d7588b8d40
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2019-07-05 08:14:18 -03:00
Bruno Oliveira
b62b549f5f
Preparing release version 5.0.1 ( #5557 )
...
Preparing release version 5.0.1
2019-07-05 08:13:37 -03:00
Bruno Oliveira
60a358fa2d
Replace importlib_metadata with importlib.metadata on Python 3.… ( #5539 )
...
Replace importlib_metadata with importlib.metadata on Python 3.8+
2019-07-04 21:46:43 -03:00
Bruno Oliveira
bb29f31d22
Preparing release version 5.0.1
2019-07-04 20:01:16 -04:00
Bruno Oliveira
b1928f878d
Handle xfail(strict=True) properly in --step-wise mode ( #5555 )
...
Handle xfail(strict=True) properly in --step-wise mode
2019-07-04 20:50:33 -03:00
Bruno Oliveira
8651d880a0
Handle xfail(strict=True) properly in --step-wise mode
...
Fix #5547
2019-07-04 20:28:37 -03:00
Bruno Oliveira
95824c588a
Improve quoting in raises match failure message ( #5553 )
...
Improve quoting in raises match failure message
2019-07-04 10:25:27 -03:00
Miro Hrončok
c54cbd63c8
Replace importlib_metadata with importlib.metadata on Python 3.8+
...
Fixes https://github.com/pytest-dev/pytest/issues/5537
2019-07-04 15:00:10 +02:00
Bruno Oliveira
1db132290f
Apply workaround for multiple short options for Python <= 3.8
...
Hopefully by Python 3.9 this will be fixed upstream, if not we will
need to bump the version again.
Fix #5523
2019-07-04 14:59:40 +02:00
Anthony Sottile
caa08ebd45
Improve quoting in raises match failure message
2019-07-04 05:55:26 -07:00
Bruno Oliveira
b08ae4449b
Add docs about Tidelift and OpenCollective ( #5527 )
...
Add docs about Tidelift and OpenCollective
2019-07-04 07:38:17 -03:00
Anthony Sottile
776a632170
Merge pull request #5540 from bazcrown/yml2yaml
...
Substituted 'yml' to '.yaml' in relevant files
2019-07-03 18:47:26 -04:00
Bruno Oliveira
d74a975f82
remove documentation about setuptools integration Refs #5534 Fi… ( #5546 )
...
remove documentation about setuptools integration Refs #5534 Fixes #3814
2019-07-03 16:01:30 -03:00
Thomas Grainger
2b9522e9da
remove documentation about setuptools integration Refs #5534
...
integrating with `python setup.py test` is not good practice!
2019-07-03 16:42:53 +01:00
Bruno Oliveira
528ee3e1c5
Add upcoming trainings ( #5544 )
...
Add upcoming trainings
2019-07-03 10:45:14 -03:00
Florian Bruhin
9677099acf
Add upcoming trainings
2019-07-03 14:50:32 +02:00
Michael Moore
1b0e8d73d5
Substituted 'yml' to '.yaml' in relevant files
2019-07-02 23:49:06 -07:00
Bruno Oliveira
50b846e9d3
Merge pull request #5538 from avallbona/patch-2
...
Added talk about pytest in PyBCN June 2019
2019-07-02 19:46:10 -03:00
Andreu Vallbona Plazas
fa9791127a
Added talk about pytest in PyBCN June 2019
...
Added talk about pytest in PyBCN June 2019
2019-07-02 23:18:52 +02:00
Bruno Oliveira
2d9b432613
Add docs about Tidelift and OpenCollective
...
Give an overview of how we as an organization will use the donated money,
as well as show this information more prominently in the docs.
2019-06-30 14:13:30 -03:00
Bruno Oliveira
5d8da88e9e
Merge pull request #5530 from AmirElkess/patch-1
...
update CONTRIBUTING.rst
2019-06-30 14:07:27 -03:00
Bruno Oliveira
0da690c8e9
Update AUTHORS ( #5531 )
...
Update AUTHORS
2019-06-30 14:07:10 -03:00
AmirElkess
e32c903fb6
Update AUTHORS
2019-06-30 18:32:07 +02:00
AmirElkess
9972c78cfa
update CONTRIBUTING.rst
...
The following edits are for the "Preparing pull requests" section only.
1. remove Python2-related commands.
2. clarifying some details for beginners. Such as that pre-commit must to be installed as admin to function properly.
3. Added "You may not create a changelog entry if the change doesn't affect the documented behaviour of Pytest." on line 270.
2019-06-30 18:29:37 +02:00
Bruno Oliveira
497cd87fdd
Apply workaround for multiple short options for Python <= 3.8 ( #5526 )
...
Apply workaround for multiple short options for Python <= 3.8
2019-06-29 12:33:00 -03:00
Bruno Oliveira
94a05e513e
Run py38-xdist as part of the build instead of cron
2019-06-29 11:19:50 -03:00
Bruno Oliveira
9021194efd
Apply workaround for multiple short options for Python <= 3.8
...
Hopefully by Python 3.9 this will be fixed upstream, if not we will
need to bump the version again.
Fix #5523
2019-06-29 11:15:28 -03:00
Bruno Oliveira
d4a76a0b99
doc(plugin_hooks): Improve documentation for writing plugin hoo… ( #5517 )
...
doc(plugin_hooks): Improve documentation for writing plugin hooks.
2019-06-29 09:39:49 -03:00
Bruno Oliveira
789a3662ce
Fix linting
2019-06-29 09:11:09 -03:00
Niklas Meinzer
93a68cdfb4
doc(plugin_hooks): Improve documentation for writing plugin hooks.
2019-06-29 14:02:53 +02:00
Anthony Sottile
4f9bf028f5
Merge pull request #5522 from nicoddemus/merge-master-into-features
...
Merge master into features
2019-06-28 20:22:56 -07:00
Anthony Sottile
4bc0415720
Merge pull request #5521 from asottile/cherry-pick-maintenance-release
...
4.6.4 changelog notes
2019-06-28 19:28:44 -07:00
Anthony Sottile
844d660d5c
Merge pull request #5520 from asottile/release-4.6.4
...
Preparing release version 4.6.4
2019-06-28 19:09:10 -07:00
Anthony Sottile
2c6453c72d
Merge pull request #5509 from asottile/release-5.0.0
...
Preparing release version 5.0.0
2019-06-28 18:12:16 -07:00
Bruno Oliveira
e6ffa78e59
Refactoring doctests ( #5518 )
...
Refactoring doctests
2019-06-28 19:15:02 -03:00
Anthony Sottile
58bfc7736f
Use shutil.which to avoid distutils+imp warning
2019-06-28 14:44:49 -07:00
Anthony Sottile
97f0a20ca9
Add notice about py35+ and move ExitCode changelog entry
2019-06-28 14:40:10 -07:00
Anthony Sottile
55d2fe076f
Use importlib instead of imp in demo
2019-06-28 14:40:10 -07:00
Anthony Sottile
5e39eb91bb
Correct Zac-HD's name in changelogs
2019-06-28 14:40:10 -07:00
Anthony Sottile
fd2f320485
Preparing release version 5.0.0
2019-06-28 14:39:53 -07:00
Bruno Oliveira
73d918db55
Remove astor and reproduce the original assertion expression ( #5512 )
...
Remove astor and reproduce the original assertion expression
2019-06-28 18:36:11 -03:00
Anthony Sottile
7ee244476a
Remove astor and reproduce the original assertion expression
2019-06-28 13:38:52 -07:00
AmirElkess
bf39e89946
Refactoring doctests
2019-06-28 21:16:17 +02:00
Bruno Oliveira
3c9b46f781
Remove stray comment from tox.ini ( #5507 )
...
Remove stray comment from tox.ini
2019-06-27 15:12:57 -03:00
Anthony Sottile
f7bfbb557e
Merge pull request #5506 from asottile/fix_no_terminal
...
Fix crash when discovery fails while using `-p no:terminal`
2019-06-27 10:46:43 -07:00
Anthony Sottile
45af361a67
Remove stray comment from tox.ini
2019-06-27 10:46:08 -07:00
Anthony Sottile
4e723d6750
Fix crash when discovery fails while using `-p no:terminal`
2019-06-27 10:24:29 -07:00