Commit Graph

24 Commits

Author SHA1 Message Date
Hynek Schlawack 5d84d9a568 Move mypy config to pyproject.toml 2022-07-28 07:55:37 +02:00
Hynek Schlawack 0f08b84f3f Unpin towncrier & update template 2022-04-07 07:25:20 +02:00
Hynek Schlawack e0dda396bc Black does match just fine 2022-02-08 08:07:39 +01:00
Hynek Schlawack 8f9558d93d coverage: ignore covered files in report 2022-01-31 06:21:18 +01:00
Hynek Schlawack 9424a930f9 Tell coverage about import attrs 2021-12-29 09:15:47 +01:00
Hynek Schlawack e7345584ff
Add attrs namespace (#887) 2021-12-25 15:15:10 +01:00
Karthikeyan Singaravelan 8613af97bb
Add __match_args__ to support match case destructuring in Python 3.10 (#815)
* Add support to generate __match_args__ for Python 3.10.

* Add versionadded directive.

* Update stubs.

* Update changelog and add a test to typing examples.

* Fix error regarding new-style classes in Python 2.

* Fix lint error regarding line length.

* Fix lint error regarding trailing whitespace.

* Add docstrings for interrogate.

* Use _has_own_attribute instead of cls.__dict__ contains check.

* Update docs as per review comments.

* Revert mistaken changelog update.

* Add Python 3.10 pattern matching syntax test cases.

* Update define signature with match_args.

* Fix conftest formatting.

* Fix isort formatting.

* Bump to Python 3.10 to parse syntax.

* Bump basepython of lint to Python 3.10 for parsing.

* Move lint to py310

Co-authored-by: Hynek Schlawack <hs@ox.cx>
2021-05-18 07:02:06 +02:00
Hynek Schlawack f2dabeae82
Fix exception chaining on PyPy (#712)
* Fix exception chaining on PyPy

Fixes #703

* Add newsfragment

* Blankly exclude PyPy from coverage reporting

* Manually add default no cover marker
2020-11-04 11:02:15 +01:00
Hynek Schlawack 48157a5741 isort 5 doesn't need seed-isort anymore 2020-11-02 13:44:10 +01:00
Hynek Schlawack 0103c860c8 More consistency 2020-09-18 10:29:36 +02:00
Hynek Schlawack 58c27a4c77 Thank you @timothycrosley! 2020-09-18 10:02:51 +02:00
Paul Ganssle dfb2ee284d
Make `zope` a semi-optional test dependency (#685) 2020-09-03 06:56:17 +02:00
Hynek Schlawack f680c5b83e pre-commit autoupdate
Latest black required to remove a bunch of commas to prevent line explosion.
2020-09-01 09:56:52 +02:00
Hynek Schlawack 3a5b5a2052 Use interrogate's pyproject.toml support 2020-08-25 09:54:28 +02:00
Hynek Schlawack 6fcb759862 Put coverage config into pyproject.toml 2020-01-06 09:14:24 +01:00
Hynek Schlawack a9a32a21a1 Get rid of setup.cfg
I don't mind having a pytest.ini and I know I could fold it into tox.ini.
I just don't want to have two general purpose config files.
2019-10-17 10:31:11 +02:00
Hynek Schlawack 2f63f2c5fe
Use isolated builds (#499)
* Use isolated builds

* try to upgrade all the things

* Try to upgrade only setuptools
2019-02-09 18:36:30 +01:00
Hynek Schlawack f8f4aef5a8 Revert isolated builds because they break mypy 2019-02-09 14:48:06 +01:00
Hynek Schlawack d21eed5165 Use isolated builds 2019-02-09 13:59:26 +01:00
Hynek Schlawack 8707eee437 Janitor packaging 2018-06-23 11:50:49 +02:00
Hynek Schlawack a372d51b7b
Fade to Black (#392) 2018-06-10 19:40:07 +02:00
Hynek Schlawack ea99d26666 Clean up main directory a bit 2017-12-27 13:32:32 +01:00
Hynek Schlawack bf159b30df Tweak towncrier
Please not that we currently build our changelog using a fork of towncrier
that can be found at <https://github.com/hynek/towncrier/tree/no-reflow>.
2017-12-27 12:35:09 +01:00
Hynek Schlawack 55ae1945b3 Move changelog to towncrier (#236) 2017-08-20 07:58:08 +02:00