Commit Graph

13 Commits

Author SHA1 Message Date
Alessio Bogon 54a85c9e94 Add types-setuptools to dev dependencies 2022-07-08 22:02:44 +02:00
Alessio Bogon e16fca0868 Use poetry 2022-07-08 15:56:47 +02:00
Alessio Bogon 32bb62f3e6 Add github action to run mypy 2022-02-24 16:52:23 +01:00
Alessio Bogon 4fd1ab950c Merge remote-tracking branch 'origin/master' into add-type-annotations
# Conflicts:
#	pytest_bdd/parser.py
#	pytest_bdd/scenario.py
2022-02-24 14:04:24 +01:00
Alessio Bogon d9540fd75c Simplify tox matrix, do not pin parse_type dependency.
We don't need to pin parse_type, we can just allow any version that the user has.
2022-02-22 16:58:26 +01:00
Konstantin Goloveshko b05dbe0aec Update python environment
- Drop python 3.6 because of EOL
- Drop pytest<5 (Actually there wasn't reason to support 4.x version because they are about 3.4/2.7 python support, which already dropped)
- Fix source distribution build
2022-02-01 22:34:05 +02:00
Alessio Bogon 78cf86af32 Fix many types 2021-10-20 17:15:03 +02:00
Alessio Bogon 33729841eb Tell mypy to ignore libraries without stubs 2021-10-20 16:22:24 +02:00
Alessio Bogon ef8845174a Add mypy to testing requirements and add mypy config 2021-10-20 16:14:16 +02:00
Alessio Bogon 379cb4b47c
Rewrite scenario/feature examples logic (#445)
* rewrite examples subsitution using templating

* Remove “example_converters”

* Remove "expanded" option. It's now the default

* Add utility functions to be able to inspect tests run by the pytester.

* use better timer

* Fix typos

* Fix and simplify tests

* Update to latest python 3.10 version

* Add isort configuration and pre-commit hook

* Fix imports

* Fix types

* Update changelog

* Update README (mainly fix typos, remove outdated options)

* Fix examples in README

* Remove python2 junk

Co-authored-by: Oleg Pidsadnyi <oleg.pidsadnyi@gmail.com>
2021-09-23 21:07:15 +02:00
Alessio Bogon 3dce929a77 Version 4.1.0 (also fix the way we release) 2021-07-03 10:58:04 +02:00
Konstantin Goloveshko e1dc0cad9a Update python and pytest
- Drop support of python 2.7, 3.5; Add explicit support for python >=3.6
- Remove six dependency
- Simplify getting step parser strategy; If step could be stringified it could be used
- Respect pytest --strict option in tests
2021-03-02 19:08:00 +02:00
Alessio Bogon c7002a4862 Use black style and other pre-commit hooks.
Plugins added:
black
trailing-whitespace
end-of-file-fixer
check-yaml
2019-08-27 17:54:58 +02:00