Commit Graph

423 Commits

Author SHA1 Message Date
Hynek Schlawack 4e78788058 Default PyPys are good enough now
And keeping track of supported versions is a PITA.
2018-01-20 14:10:15 +01:00
Hynek Schlawack 1357de7471 Make example __hash__ closer to reality
Fixes #327
2018-01-18 11:23:29 +01:00
Hynek Schlawack 8278088a70
Ignore __weakref__ in __setstate__ & __getstate__ (#326) 2018-01-17 13:16:39 +01:00
Hynek Schlawack 1f0d851996 Kill off old newsfragments 2018-01-16 20:28:13 +01:00
Hynek Schlawack fc2062ea0c
Do not delete attributes from class body if these is passed (#323)
Fixes #322
2018-01-16 19:09:23 +01:00
Hynek Schlawack 9af773bdf3 Better wording 2018-01-16 14:04:32 +01:00
Hynek Schlawack 209c57993c Use tox's extras feature 2018-01-04 09:29:57 +01:00
Hynek Schlawack caf286edd0 Start new release cycle 2017-12-30 09:24:00 +01:00
Hynek Schlawack ca06613b75 Prepare 17.4.0 2017-12-30 09:06:59 +01:00
Hynek Schlawack b778e5c987 Fix release stuff 2017-12-30 09:03:45 +01:00
Hynek Schlawack 2133157187 Use extra requirements for docs in RTD 2017-12-30 08:42:38 +01:00
Hynek Schlawack c601faf994 Use extras_require instead of dev-requirements.txt (#318)
* Use extras_require instead of dev-requirements.txt

* Better phrasing

* Make names reflects dir names, add docs

Keep docs-requirements.txt for now, but the plan is to get rid of it.

* Explain docs building
2017-12-29 16:11:47 +01:00
Hynek Schlawack 3cffdfa3dd Encourage kwargs-based initialization
ref #304
2017-12-29 09:41:33 +01:00
Hynek Schlawack ea99d26666 Clean up main directory a bit 2017-12-27 13:32:32 +01:00
Hynek Schlawack 3d54cf366a More tweaking 2017-12-27 12:49:54 +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 8249305e12 Remove superfluous word 2017-12-27 12:01:08 +01:00
Hynek Schlawack d33906ab90 Better working of the consequences of #304 2017-12-27 11:59:37 +01:00
Hynek Schlawack 9e1f1360a8
Add __module__ and __qualname__ to methods, fix __name__ (#316) 2017-12-27 11:54:18 +01:00
Hynek Schlawack bc0b437e58
Rename convert to converter (#315) 2017-12-23 08:46:10 +01:00
Hynek Schlawack b3861d109b Fix metadata test
We now understand the nature of it:
https://github.com/python-attrs/attrs/pull/280#issuecomment-352856729

ref #280
2017-12-20 12:43:22 +01:00
Hynek Schlawack 051da6872a Wordsmith newsfragment 2017-12-19 08:41:06 +01:00
Kyle Altendorf 1addd3534d Make _CountingAttr empty metadata unique (#280)
* Make _CountingAttr empty metadata unique

Issue #278

* Correct st.none().map() to st.builds()

* Add 'real' and 'force coverage' tests for not None metadata

* Add changelog for pr 280

* Correct import order in tests/test_make.py

* Add back coverage force test

* Remove debug print from test/utils.py
2017-12-19 07:51:24 +01:00
Hynek Schlawack 5ed8c4a015
Fix MRO traversal with multiple inheritance (#304)
* Fix MRO traversal with multiple inheritance

* Add newsfragments
2017-12-13 15:33:44 +01:00
Hynek Schlawack 2c20c0f199 Add Travis environment to check the next 3.6 release (#312) 2017-12-08 13:33:31 +01:00
Yann Kaiser 9d441d70ab Fix __repr__ crashing when a member is uninitialized or deleted (#308) 2017-12-06 10:21:58 -08:00
Hynek Schlawack cd8890c744
Speed up __eq__ by generating code (#306)
* Speed up __eq__ by generating code

* Add newsfragment
2017-12-04 18:48:25 +01:00
Hynek Schlawack 34857994ea Update CoC links 2017-12-04 08:16:46 +01:00
Hynek Schlawack defa6b6f40 Fix and accelerate generated __hash__ methods (#296)
* Fix and accelerate generated __hash__ methods

We now create a method like we do for __init__ and hash also the class of the
instance.

* Add/fix news fragments

* Hash random numbers instead of the actual class

* Even simpler: let's hash the unique filename

Or rather it's hash, because hashing ints is very fast.
2017-11-30 10:16:11 +01:00
Hynek Schlawack ef9a062022
Use isort so we can stop thinking about imports (#297) 2017-11-26 22:18:07 +01:00
Hynek Schlawack f5b59a01f8
Handle inherited __annotations__ (#292)
* Handle inherited __annotations__

Fixes #291

* Add pr fragment
2017-11-14 06:27:50 +01:00
Hynek Schlawack a84a36d45f
Handle attrib redefs thru multiple inheritance (#287) 2017-11-11 07:09:17 +01:00
Hynek Schlawack 1e6627c9ad
Make ctypes optional (#286) 2017-11-10 17:23:53 +01:00
Hynek Schlawack 7501cecf0f m(
fixes #283
2017-11-08 19:21:26 +01:00
Hynek Schlawack 8b268136ec Start new release cycle 2017-11-08 19:04:15 +01:00
Hynek Schlawack aa097d62a1 Kill off merged news fragments 2017-11-08 18:44:09 +01:00
Hynek Schlawack 19bb29555f Prepare 17.3.0 2017-11-08 18:43:25 +01:00
Hynek Schlawack 9746c7e9e3 Set towncrier comment properly 2017-11-08 18:20:40 +01:00
Hynek Schlawack aa501176fa Better line wrap of example 2017-11-08 17:24:01 +01:00
Hynek Schlawack 0d2cd55ccd Nicer heading 2017-11-08 17:23:56 +01:00
Hynek Schlawack 69dd0ea319 Make typing.ClassVar linkable 2017-11-08 17:23:41 +01:00
Hynek Schlawack c5caba6050 Tune font stack 2017-11-08 16:38:47 +01:00
Hynek Schlawack 2e97529a52 Simplify tesimonial markup, order alphabetically 2017-11-08 15:49:52 +01:00
Hynek Schlawack 05a54b5105 Consistent type README vs docs 2017-11-08 15:39:56 +01:00
Hynek Schlawack 88aa1c897d
Add auto_attribs (#277)
Allow for attr.ib-less attribute definitions using class variable annotations.
2017-11-08 11:15:21 +01:00
Hynek Schlawack 2a50c4b930 Get rid of serif pretentiosness
And some doc polish
2017-11-08 07:11:10 +01:00
Hynek Schlawack 3dffdffd6c Minor polish here and there 2017-11-04 14:43:29 +01:00
Stanis Trendelenburg c1adf5cfc6 Fix pickling for instances of classes created using make_class() (#282) 2017-11-04 14:38:03 +01:00
Hynek Schlawack 1bb8fbd5ef Add and use SVG version of our logo 2017-11-01 14:28:52 +01:00
Hynek Schlawack 3d3d49b4dd Prepare for narrative docs (#275) 2017-10-26 17:55:45 +02:00