Hynek Schlawack
b6cd5a0847
Semantic linefeeds
2023-07-07 14:36:55 +02:00
Sergei Lebedev
36d4762498
Switched from __dataclass_transform__() to typing.dataclass_transform() ( #1158 )
2023-07-06 18:41:45 +02:00
pre-commit-ci[bot]
620cd5964a
[pre-commit.ci] pre-commit autoupdate ( #1160 )
...
updates:
- [github.com/asottile/pyupgrade: v3.4.0 → v3.8.0](https://github.com/asottile/pyupgrade/compare/v3.4.0...v3.8.0 )
- [github.com/asottile/yesqa: v1.4.0 → v1.5.0](https://github.com/asottile/yesqa/compare/v1.4.0...v1.5.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-04 08:27:56 +02:00
Hynek Schlawack
06f0c53240
Disable pypy3.7 for now ( #1159 )
...
Looks like tox is broken on pypy3.7.
2023-06-29 12:23:03 +02:00
Hynek Schlawack
dfada92dee
Simplify
2023-06-29 10:57:08 +02:00
Hynek Schlawack
261d26ed45
Demonstrate init subclass workaround
2023-06-27 07:12:37 +02:00
Hynek Schlawack
4461e2ce47
Unpin Mypy ( #1155 )
2023-06-26 21:36:22 +02:00
Hynek Schlawack
7c264ad4a5
Split out pre command
...
Co-authored-by: Bernát Gábor <690238+gaborbernat@users.noreply.github.com>
2023-06-26 18:10:27 +02:00
Hynek Schlawack
494ea59c84
No need for newline
2023-06-26 16:58:39 +02:00
Hynek Schlawack
d62832aad9
We only need this in .pkg
2023-06-26 16:49:09 +02:00
Hynek Schlawack
e920b7b08e
Build only one universal wheel when running tox ( #1154 )
...
* Build only one universal wheel when running tox
Sadly, hatch-autorun and tox seem to be fighting over env variables so
we create the pth file by hand.
* Simplify
* Configure pkg build env
Co-authored-by: Bernát Gábor <690238+gaborbernat@users.noreply.github.com>
---------
Co-authored-by: Bernát Gábor <690238+gaborbernat@users.noreply.github.com>
2023-06-26 16:18:30 +02:00
Hynek Schlawack
a074923138
Replace dependency with 1 line of tox.ini ( #1156 )
2023-06-26 15:19:41 +02:00
Hynek Schlawack
10aa821541
Fix Pyright 1.1.315
2023-06-26 08:00:23 +02:00
Hynek Schlawack
22d4724cb4
Pin Mypy
2023-06-26 07:36:49 +02:00
Hynek Schlawack
1327abf00b
Nicer coverage
2023-06-14 17:11:06 +02:00
Hynek Schlawack
724bb9a6ca
Fix pyright 1.1.314
2023-06-14 17:04:21 +02:00
Hynek Schlawack
f93e0663e9
Reduce CI matrix ( #1149 )
2023-06-14 16:52:17 +02:00
Hynek Schlawack
3ec01cae97
Python versions in READMEs are problematic
...
e.g. they have no connection to the current version on PyPI
2023-06-13 10:18:11 +02:00
Hynek Schlawack
4cb3941576
Move compat policy to SECURITY.md
2023-06-13 10:11:37 +02:00
Hynek Schlawack
a08bfb90ef
Un-deprecate __version__ for now
...
Fixes #1136
2023-06-13 10:02:59 +02:00
Hynek Schlawack
9ba7fad855
Update Pydantic to their new capitalization style
2023-06-13 09:59:16 +02:00
Hynek Schlawack
0a02d34f57
Use a distinct file name for default python versions ( #1146 )
...
* Use a distinct file name for default python versions
* Inspect bash settings
* Revert "Inspect bash settings"
This reverts commit b2f52baaeb
.
2023-06-13 09:40:14 +02:00
Hynek Schlawack
2dd16058c2
Revert accidentally deleted line
2023-06-12 07:59:48 +02:00
Hynek Schlawack
942fd76d41
Refresh tox / ci
2023-06-12 07:52:32 +02:00
Hynek Schlawack
da27d8f186
TOX_TESTENV_* doesn't work anymore
2023-06-10 11:21:59 +02:00
pre-commit-ci[bot]
fc8dc23c81
[pre-commit.ci] pre-commit autoupdate ( #1142 )
...
updates:
- [github.com/asottile/pyupgrade: v3.3.2 → v3.4.0](https://github.com/asottile/pyupgrade/compare/v3.3.2...v3.4.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-06-06 07:57:23 +02:00
Hynek Schlawack
9737359ae1
Cleanup ci
2023-06-05 08:03:01 +02:00
Hynek Schlawack
ecdb117407
Fix type annotation for resolve_types() ( #1141 )
2023-06-04 11:27:09 +02:00
Hynek Schlawack
747b9ded2f
Simplify CI and use .python-version ( #1140 )
...
* Simplify CI and use .python-version
* Test CI on pypy 3.9 too
* We don't need .gitignore to keep the dir anymore
2023-06-04 07:33:48 +02:00
Hynek Schlawack
2b3a427147
Fix pyright for 1.1.311 ( #1138 )
...
They support converters now!
2023-06-03 12:12:03 +02:00
Hynek Schlawack
a6778cf7aa
Remove outdated skip & version mention
2023-05-22 07:46:02 +02:00
Hynek Schlawack
8dbd2dbc04
Fix docstring markup
...
No MyST in docstrings yet.
Fixes #1135
2023-05-19 07:51:09 +02:00
chrysle
82783230e9
Build docs on OS Ubuntu 22.04 ( #1134 )
2023-05-06 14:09:10 -06:00
Hynek Schlawack
fc34f20d18
Add often forgotten feature
2023-05-03 16:36:35 -06:00
pre-commit-ci[bot]
d67cdaaaf9
[pre-commit.ci] pre-commit autoupdate ( #1131 )
2023-05-01 20:12:25 -06:00
Hynek Schlawack
7c44cfb3c1
Fix intersphinx ( #1130 )
2023-04-26 18:31:29 -06:00
Hynek Schlawack
56cbf826df
Switch PyPI to Trusted Publisher
2023-04-24 14:37:37 -06:00
Hynek Schlawack
a9e9579e4e
Start new development cycle
2023-04-16 12:29:49 +02:00
Hynek Schlawack
1e2f6f9cac
Prepare 23.1.0
2023-04-16 12:22:15 +02:00
Hynek Schlawack
3786d5ab74
Fix next version
2023-04-16 12:19:02 +02:00
Hynek Schlawack
a7e1a56da6
Fix missing backtick
2023-04-16 12:17:35 +02:00
Hynek Schlawack
dadc020597
Fix links broken by pyright removing their transform spec
2023-04-16 12:15:50 +02:00
chrysle
bef2f5280e
Added example for version docstrings to PR template ( #1127 )
...
* Added example for version docstrings
* Update .github/PULL_REQUEST_TEMPLATE.md
---------
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2023-04-14 09:15:30 +00:00
Lanqing Huang
c4c6fdd658
Add literal string support to include and exclude filters ( #1068 )
...
* Add literal string support to includer and exclude filters
* Add docs and changelog for new feature
* Fix typo in `typing_example`
* Add a note to document typo issues while using literal name strings as filter args
* Add more docs
* Add code mark for `AttributeError`
* Fix grammar error and upgrade `versionchanged` info
* Improve docs and examples from
hynek's comments
* Keep example cases the same
* More examples
* Apply suggestions from code review
Co-authored-by: chrysle <fritzihab@posteo.de>
---------
Co-authored-by: Hynek Schlawack <hs@ox.cx>
Co-authored-by: chrysle <fritzihab@posteo.de>
2023-04-14 08:54:31 +00:00
chrysle
e4c9f2796c
CONTRIBUTING: Small improvements ( #1123 )
...
* Small improvements to docs
* Corrected branch deletion
* Apply suggestions from code review
Co-authored-by: Hynek Schlawack <hs@ox.cx>
* Applied more review feedback
---------
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2023-04-14 04:38:00 +00:00
Hynek Schlawack
683d05684e
Cull trove classifiers
2023-04-11 07:24:39 +02:00
Hynek Schlawack
c8b342d34f
Deprecate zope-interface support ( #1120 )
2023-04-10 15:34:38 +02:00
Hynek Schlawack
d1aaeeed78
Remove special-casing of pretend version for pytest ( #1124 )
...
* Remove special-casing of pretend version for pytest
ref https://github.com/pytest-dev/pytest/pull/10669
* Use a version that is used in our examples.
* Update .github/workflows/ci.yml
Co-authored-by: chrysle <fritzihab@posteo.de>
---------
Co-authored-by: chrysle <fritzihab@posteo.de>
2023-04-10 11:41:10 +02:00
Hynek Schlawack
7d55876ed3
Accept tuples in attrs.validators.optional ( #1122 )
...
* Accept tuples in attrs.validators.optional
Fixes #937
* Add news fragment
2023-04-10 09:49:51 +02:00
Hynek Schlawack
5a7d978d8a
Make Pyright optional until it's stable again
...
https://github.com/ekalinin/nodeenv/issues/324
2023-04-05 10:42:41 +02:00