Commit Graph

1385 Commits

Author SHA1 Message Date
Hynek Schlawack 36bb1f182e
Small doesn't do anything on GitHub 2022-11-16 15:17:25 +01:00
Hynek Schlawack f36b6069fa
Update sponsors 2022-11-16 15:10:31 +01:00
Hynek Schlawack 741d37b45c
Simplify project information 2022-11-16 14:07:33 +01:00
Hynek Schlawack 95841fc93e
Start moving docs to MyST / Markdown (#1053)
* Start moving to MyST

* More MyST

* Start using proper typography
2022-11-16 13:58:25 +01:00
pre-commit-ci[bot] bef1386f22
[pre-commit.ci] pre-commit autoupdate (#1050) 2022-11-08 11:11:29 +01:00
Olexiy Pohorely 5a71192f89
Use the stable version of Python 3.11 in CI (#1045)
* update stable python version in ci

* add allowed-endpoints to jobs
2022-11-08 07:41:42 +00:00
Hynek Schlawack a04ac9fdfb
Pin mypy until we fix our pytest-mypy tests 2022-11-08 08:36:14 +01:00
Varun Sharma 965972eba3
Update `allowed-endpoints` in codeql-analysis.yml (#1046) 2022-10-27 08:59:26 +02:00
pre-commit-ci[bot] ccecbf3ef7
[pre-commit.ci] pre-commit autoupdate (#1036)
updates:
- [github.com/asottile/pyupgrade: v2.37.3 → v2.38.2](https://github.com/asottile/pyupgrade/compare/v2.37.3...v2.38.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-04 08:41:08 +02:00
Hynek Schlawack c65cf47fc0
Use more descriptive name 2022-09-29 11:01:58 +02:00
Hynek Schlawack 4b4da14880
Tighten permissions 2022-09-29 11:00:18 +02:00
Hynek Schlawack a7eab33943
Block on CI egress (#1035)
* Block on CI egress

* Allow some endpoints

* Split pyright out since it's special anyways

* Make pyright required
2022-09-29 09:36:19 +02:00
Step Security Bot 0095cd8ca2
[StepSecurity] ci: Harden GitHub Actions (#1034)
* [StepSecurity] ci: Harden GitHub Actions in ci.yml

* [StepSecurity] ci: Harden GitHub Actions in codeql-analysis.yml
2022-09-29 08:04:18 +02:00
Sviatoslav Sydorenko 8415c4a005
Use short syntax to request pre+final py311 (#1032) 2022-09-29 07:44:02 +02:00
Hynek Schlawack 07f102dc30
No need to hide RTD 2022-09-28 10:41:13 +02:00
Hynek Schlawack 2f447ca3e5
Fix version syntax 2022-09-28 10:32:49 +02:00
Hynek Schlawack 300d3ee32c
Looks like pytest-mypy is broken on 3.11 2022-09-28 10:29:43 +02:00
Hynek Schlawack f6d96456d8
Install tox for docs 2022-09-28 09:53:34 +02:00
Hynek Schlawack eca0adc5ed
Fix 3.11 2022-09-28 09:49:28 +02:00
Hynek Schlawack f865d4e67c
Finalize extraction m( 2022-09-28 09:46:17 +02:00
Hynek Schlawack 38bf3021da
Extract docs into own CI job 2022-09-28 09:42:21 +02:00
Hynek Schlawack 6b73e8e015
Fix type docstring
Fixes #1031
2022-09-28 09:25:16 +02:00
Sviatoslav Sydorenko 36d6f83604
Introduce a gate/check GHA job (#1029) 2022-09-26 16:50:45 +02:00
Hynek Schlawack c20a9dc7b9
Add defaults to cmp_using stubs (#1027)
Fixes #1026
2022-09-19 09:20:55 +02:00
Hynek Schlawack 95fde1309b
Squeeze badges 2022-09-14 10:05:32 +02:00
Hynek Schlawack 1a42ed1842
Add hard-earned OpenSSF badge 2022-09-14 10:02:56 +02:00
Hynek Schlawack e31a6c9d1a
Create dependabot.yml (#1025) 2022-09-14 09:33:56 +02:00
Hynek Schlawack c2dd82be88
Create codeql-analysis.yml (#1024) 2022-09-14 09:20:20 +02:00
Hynek Schlawack ab5712b6c5
Use more commen term from keep a changelog 2022-09-12 15:23:20 +02:00
Hynek Schlawack c3078e33d0
Unpin towncrier 2022-09-12 15:18:41 +02:00
Hynek Schlawack e24ce2328d
Typography 2022-09-12 15:09:34 +02:00
pre-commit-ci[bot] a604114438
[pre-commit.ci] pre-commit autoupdate (#1022) 2022-09-06 07:54:17 +02:00
Hynek Schlawack c5968d5a25
Remove default from type stubs from #1010 2022-09-04 13:57:02 +02:00
Nick Timkovich f870beb84a
Add a not_ validator (#1010) 2022-09-04 13:55:02 +02:00
layday f7fa5a810c
Fix type errors in Pyright (#999) 2022-08-30 15:06:10 +02:00
Hynek Schlawack 7f18d92d73
Pin towncrier for docs
Until
https://github.com/sphinx-contrib/sphinxcontrib-towncrier/issues/60 is
resolved.
2022-08-30 07:29:34 +02:00
Kevin M Granger c860e9dd25
Use enum for typing NOTHING (#983)
* Use enum for typing NOTHING.

This will allow those extending attrs
to type NOTHING as Literal[NOTHING].

* Make test_dunders test `NOTHING` directly

* Reflect NOTHING enum typing in __init__.pyi

* Fix docs for NOTHING

* Add changelog entry

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: Hynek Schlawack <hs@ox.cx>
Co-authored-by: Tin Tvrtković <tinchester@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-08-27 17:41:56 +02:00
Hynek Schlawack 20453b1a61
Minor docs polish 2022-08-23 10:12:44 +02:00
Hynek Schlawack d4f33d9654
Use white logo in dark mode (#1019)
Switch to using the white-background logo in the readme
2022-08-23 07:52:23 +02:00
Hynek Schlawack fab5a9289d
Deprecate Python 3.6 (#1017)
* Rename CI workflow to a more meaningful name

* News fragment
2022-08-22 16:43:28 +02:00
Hynek Schlawack cd35505960
Fix typo 2022-08-22 16:39:08 +02:00
Sviatoslav Sydorenko 9169c49966
Add a preview for the "next release" change notes (#1016)
* Add a preview for the "next release" change notes

This change integrates `sphinxcontrib-towncrier` into the docs build.
It uses Towncrier and its configs to render a draft changelog as RST
and injects that into the `changelog.rst` document right above the
older changelog entries using `towncrier-draft-entries` directive.

* Drop the change note from PR #1016

This partially reverts commit 0165dc355d2eb475cf59894d1561efb9b1963a39.

* Use `Not yet released` in the changelog draft

Co-authored-by: Hynek Schlawack <hs@ox.cx>
2022-08-22 14:27:40 +00:00
Hynek Schlawack c9cb0ffd23
fix markup 2022-08-22 16:16:56 +02:00
Hynek Schlawack 09757569dc
Make link to contributing easier to find 2022-08-22 16:15:23 +02:00
Sviatoslav Sydorenko fdf824211f
Fix pre-commit link syntax in contributing doc (#1018)
It was using RST but the doc is actually in Markdown.
2022-08-22 16:09:55 +02:00
Hynek Schlawack c76062a733
Rename CI workflow to a more meaningful name 2022-08-22 11:08:03 +02:00
Hynek Schlawack 649b273c82
Make tests for simple-class actually run 2022-08-22 10:54:22 +02:00
Hynek Schlawack e1fa525307
Use build-and-inspect-python-package 2022-08-21 09:42:10 +02:00
Hynek Schlawack 70b3cf16e1
Use pytest-xdist in tox / CI (#1011)
Co-authored-by: Thomas Grainger <413772+graingert@users.noreply.github.com>
Co-authored-by: Ionel Cristian Mărieș <129501+ionelmc@users.noreply.github.com>
Co-authored-by: Sviatoslav Sydorenko <578543+webknjaz@users.noreply.github.com>
2022-08-21 09:38:37 +02:00
Hynek Schlawack a961e9a42f
Reflow GHA 2022-08-19 09:22:35 +02:00