Commit Graph

1124 Commits

Author SHA1 Message Date
Hynek Schlawack 006b31f46c
Update GHA setup-python action 2022-08-15 09:21:23 +02:00
gopackgo90 f7d64c0190
Remove universal wheel, python 2 is unsupported (#1005) 2022-08-15 08:24:32 +02:00
Hynek Schlawack a2c1275d1b
Make tox's pre-commit output more helpful 2022-08-13 12:47:53 +02:00
Hynek Schlawack c58ffd4e4c
Call abc.update_abstractmethods on 3.10+ (#1001) 2022-08-11 11:33:34 +00:00
Hynek Schlawack 536ddc57e2
Why not 2022-08-11 10:13:13 +02:00
Hynek Schlawack 0c19e1600e
Stop installing pre-commit in dev
It's not necessary thanks to tox & pre-commit ci and it's kinda overbearing
towards people who already have it installed.
2022-08-11 10:09:37 +02:00
Hynek Schlawack 80c61b79cf
Remove frogotten path fragment 2022-08-11 10:01:54 +02:00
Hynek Schlawack 714bf67a2f
Extend we-are-not-a-serialization-framework 2022-08-11 10:00:00 +02:00
Hynek Schlawack 3843452516
Replace omnipresent pytest.mark.parametrize("(slots|frozen)" w/ fixture (#1002)
Replace omnipresent pytest.mark.parametrize("(slots|frozen)", [True, False]) w/ fixture
2022-08-11 09:35:39 +02:00
Hynek Schlawack 92ef1421b6
Fix typo 2022-08-11 07:11:18 +02:00
Hynek Schlawack 351637400a
Polish newsfragments 2022-08-10 15:03:57 +02:00
Hynek Schlawack 4a281b04b4
Add warning re #993 2022-08-10 14:32:00 +02:00
Hynek Schlawack 1007eb1c49
Remove forgotten double pytest config 2022-08-10 14:18:27 +02:00
Hynek Schlawack fbcae2a8b0
Switch to 1% static packaging configuration (#998)
* Switch to 1% static packaging configuration

* Add shim for @pganssle

* Not worth interpolation

* Kill extra line
2022-08-10 14:15:32 +02:00
Hynek Schlawack 6151683244
Eliminate most str.format() and %-formatting (#995)
* Eliminate most str.format() and %-formatting

* Add newsfragment
2022-08-10 12:41:46 +02:00
davfsa a8191556c0
Speedup `_setattr` usage and fix slight performance regressions (#991)
* Speedup `_setattr` usage and fix performance regressions

* Add changelog file

Co-authored-by: Hynek Schlawack <hs@ox.cx>
2022-08-07 07:52:28 +00:00
Hynek Schlawack 983c2c4293
Re-import AttrsInstance in attrs ns (#994) 2022-08-07 02:13:02 +02:00
Hynek Schlawack a2a741097c
Don't need this word 2022-08-06 06:55:49 +02:00
Hynek Schlawack daa654c62a
Expand supporters 2022-08-06 06:53:37 +02:00
Hynek Schlawack 08f8319efe
Drop Python 3.5 (#988)
* Drop Python 3.5

Less than 0.5% of our downloads are 3.5 and it allows us to simplify A LOT of code.

Fixes #965

Signed-off-by: Hynek Schlawack <hs@ox.cx>

* Run 3.6 under coverage

* Add newsfragment

* Probably don't need 3.7 for coverage

* Everything is ordered!

* pre-commit autoupdate, add yesqa
2022-08-05 09:48:00 +02:00
pre-commit-ci[bot] 107367d437
[pre-commit.ci] pre-commit autoupdate (#990) 2022-08-02 05:51:38 +02:00
Hynek Schlawack 06ce354594 pre-commit autoupdate, add yesqa 2022-08-01 10:09:13 +02:00
Hynek Schlawack 95e0c423ca Update .gitignore 2022-07-30 13:23:03 +02:00
Hynek Schlawack c428229aca Refer to glossary explicitly so it's not in fixed font 2022-07-29 05:43:07 +02:00
Hynek Schlawack 0e9a101fc0 Add citation 2022-07-28 15:54:39 +02:00
Hynek Schlawack 430113c213 Add zenodo badge 2022-07-28 15:46:55 +02:00
Hynek Schlawack a683bdb656 Start new development cycle 2022-07-28 15:22:12 +02:00
Hynek Schlawack b3dfebe2e1 Prepare 22.1.0 2022-07-28 15:03:02 +02:00
Hynek Schlawack c89abcd6e6 It totally is correct 2022-07-28 14:46:53 +02:00
Hynek Schlawack 9f118b7dd5 Tune first steps 2022-07-28 11:00:37 +02:00
Hynek Schlawack a3d7f20e54 Polish contributing guide 2022-07-28 09:46:31 +02:00
Hynek Schlawack 899497f165 Clarify (c) ownership 2022-07-28 09:33:00 +02:00
Hynek Schlawack 696fd78690 Hyphenate compound adjectives 2022-07-28 09:23:44 +02:00
Hynek Schlawack 65c06831c1 Use NG APIs in glossary 2022-07-28 08:47:28 +02:00
Hynek Schlawack 5d84d9a568 Move mypy config to pyproject.toml 2022-07-28 07:55:37 +02:00
Lan5880 1590917bf7
Update readme.rst (#986)
Fixed grammatical error for "After declaring you attributes attrs gives you" by adding a comma.

Co-authored-by: Hynek Schlawack <hs@ox.cx>
2022-07-28 07:45:43 +02:00
Hynek Schlawack a67c84f51e Add more prominent callout about slots to API docs
Fixes #971
2022-07-28 06:38:26 +02:00
Hynek Schlawack 4f6b894487 Fix overview 2022-07-28 06:12:27 +02:00
Hynek Schlawack bcef030781 Add newsfragment for #969 2022-07-27 16:37:26 +02:00
Hynek Schlawack eefb7c8a04 Fix broken links 2022-07-27 16:35:21 +02:00
Hynek Schlawack f7b342609f It still is! 2022-07-27 16:32:04 +02:00
Hynek Schlawack 557e3fd8ea Fix test_yaml
Looks like mypy added support for converter lambdas.
2022-07-27 16:30:18 +02:00
Hynek Schlawack 4e6ec65460 Polish changelog entries 2022-07-27 16:14:35 +02:00
Hynek Schlawack 0010bb55fe Make project information easiert to read/scan 2022-07-27 16:11:24 +02:00
Hynek Schlawack c98b6cb24f pre-commit autoupdate 2022-07-27 16:01:15 +02:00
Hynek Schlawack 36ed02046e Reorder docs, remove search link
Search link makes no sense with our theme.

Fixes #984
2022-07-16 18:30:12 +01:00
Kevin M Granger 17e1ba54c8
Fix typo in tox wiki link in CONTRIBUTING.md (#982) 2022-07-15 08:10:26 +00:00
Hynek Schlawack b0450650c1
Update SECURITY.md 2022-07-11 16:56:16 +02:00
Marcelo Trylesinski 7091b1f89a
Update init.rst (#979) 2022-07-07 15:04:05 +02:00
pre-commit-ci[bot] 6785434ed8
[pre-commit.ci] pre-commit autoupdate (#978)
updates:
- [github.com/psf/black: 22.3.0 → 22.6.0](https://github.com/psf/black/compare/22.3.0...22.6.0)
- [github.com/asottile/pyupgrade: v2.32.1 → v2.34.0](https://github.com/asottile/pyupgrade/compare/v2.32.1...v2.34.0)
- [github.com/pre-commit/pre-commit-hooks: v4.2.0 → v4.3.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v4.3.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-05 07:56:36 +02:00