Commit Graph

223 Commits

Author SHA1 Message Date
Hynek Schlawack 50152a624f Add forgotten comment 2016-08-22 13:13:08 +02:00
Hynek Schlawack cfa6d2e99f Implement immutability (#60) 2016-08-20 18:45:15 +02:00
Hynek Schlawack 5a1814f8d0 Add link to PyPI 2016-08-18 13:36:23 +02:00
jmglogow 5fdf908a70 Fix little sphinx doc typo (#62) 2016-08-17 19:42:33 +02:00
Hynek Schlawack ab9cbc84df slots-ify internal classes
Saves memory without downsides.

Ref #60
2016-08-17 14:44:01 +02:00
Hynek Schlawack 8ad7602992 More copyediting
The correct parts being based on feedback from @econchick
2016-08-17 13:28:00 +02:00
Hynek Schlawack fec5c465d7 Link assoc and make_class from examples.rst
Fixes #59
2016-08-16 12:51:35 +02:00
Hynek Schlawack 111a627e70 Get rid of PY3 constant and codecov badge
Sadly, their service grew unreliable. :(
2016-08-16 12:35:27 +02:00
Hynek Schlawack 4759f4659d Address feedback to examples.rst
Ref #59
2016-08-16 12:25:59 +02:00
Hynek Schlawack 24e60944ec Add better serious business aliases 2016-08-16 12:18:03 +02:00
Hynek Schlawack 563b09f19a Pull license up 2016-08-15 21:51:20 +02:00
Hynek Schlawack 5dd257f878 Treat main title as a title 2016-08-15 17:35:49 +02:00
Hynek Schlawack b040503663 More documentation polish 2016-08-15 17:26:49 +02:00
Hynek Schlawack 07366e18c1 Rename cl to cls 2016-08-15 15:59:10 +02:00
Hynek Schlawack 76a21a5a9a Fix typo
Fixes #53
2016-08-15 15:30:00 +02:00
Hynek Schlawack b337f5b9d5 Move test helpers into an utils module
__init__.py should never contain any code.
2016-08-15 15:27:13 +02:00
Hynek Schlawack 395aa07820 Documentation overhaul 2016-08-15 13:59:04 +02:00
Rosslaew 65f3f4ad44 Update why.rst (#57)
Fix of obvious typo.
2016-08-15 10:03:18 +02:00
JesseWeinstein 2f9826c8dd Doc typo fixes (#56)
Native English speaker fixes
2016-08-15 10:00:23 +02:00
Tin Tvrtković 46ac6b6046 Make Attribute instances immutable and slotted. (#51) 2016-08-13 16:16:37 +02:00
Alex Chan 74b31faca8 Fix missing capital letter in CODE_OF_CONDUCT.rst (#52) 2016-08-12 20:16:40 +02:00
Tristan Seligmann a673093da3 Make copyright year static. (#49)
Thanks
2016-08-10 09:19:43 +02:00
Hynek Schlawack 28204bef92 Deprecate Attribute instances on decorated classes
The changelog deprecation error explains it best.  It's to avoid
confusing errors if some attribute hasn't been initialized for whatever
reason (usually `init=False` + typo).
2016-08-08 12:11:06 +02:00
Tin Tvrtković 588fe48019 Simplify asdict and has (#48) 2016-08-08 08:44:30 +02:00
Hynek Schlawack e833e0c1cd coverage 4.2 doesn't need a coverage erase anymore 2016-07-31 14:43:02 +02:00
Hynek Schlawack 8ad22d5e8c Add changelog entry for #45 2016-06-02 15:43:43 -07:00
Tin Tvrtković d10e5c41d6 asdict - propagate dict_factory properly (#45)
* asdict - propagate dict_factory properly. Hypothesis tests.

* Disable Hypothesis health checks on Travis/PyPy.

* Tox - pass the HYPOTHESIS_PROFILE environment variable.

* Shut up pytest again.
2016-06-02 15:40:15 -07:00
Hynek Schlawack e83f0e51ac Start new release cycle 2016-05-23 20:34:11 +02:00
Hynek Schlawack c37f4423be Prepare 16.0.0 2016-05-23 20:29:31 +02:00
Hynek Schlawack 1c6a8e59e0 Fix changelog 2016-05-23 17:33:13 +02:00
Hynek Schlawack d7cdc97a2a Move version into a global variable
Simplifies scripting of releases.
2016-05-23 13:16:53 +02:00
Hynek Schlawack 5edf483173 Add changelog entry 2016-05-22 07:57:07 +02:00
Hynek Schlawack 5d4cda8181 Merge pull request #44 from cournape/enh/speedup-convert
ENH: speed up convert.
2016-05-21 20:58:48 +02:00
David Cournapeau 9cb53a3122 ENH: speed up convert. 2016-05-21 18:45:59 +01:00
Hynek Schlawack f4b2e1bd72 Merge pull request #42 from Tinche/feature/dict-factory
Initial dict_factory support for asdict.
2016-05-17 12:50:50 +02:00
Tin Tvrtkovic f3ee6da7fc Try fixing Travis by removing a tox comment. 2016-05-16 22:55:55 +02:00
Tin Tvrtkovic 6ce0a0d80d Fix flake8. Tweak changelog. 2016-05-15 16:43:17 +02:00
Tin Tvrtkovic 96e217dcd3 Changelog entry. 2016-05-15 02:04:02 +02:00
Tin Tvrtkovic 88f33a9375 Review feedback. 2016-05-15 02:00:36 +02:00
Tin Tvrtkovic 17a48c3bc3 Fix comments. 2016-05-08 23:50:53 +02:00
Tin Tvrtkovic cd80208187 Initial dict_factory support for asdict. 2016-05-07 19:55:09 +02:00
Hynek Schlawack 4b94e0314c Fix _Nothing class' __eq__
All instances used to be equal to anything.  Didn't pop up because attrs
always compares them using `is`.
2016-04-28 10:32:38 +02:00
Hynek Schlawack 2da44740ce Fix RTD links 2016-04-28 08:06:10 +02:00
Hynek Schlawack e41324780a It's bdist_wheel now 2016-04-19 11:59:53 +02:00
Hynek Schlawack 402b825539 Clarify instance_of validator also takes tuples 2016-04-05 10:48:17 +02:00
Hynek Schlawack 694598a36d Merge pull request #37 from cournape/speedup_import
ENH: bundle inspect.isclass to avoid paying the cost of inspect import.
2016-04-02 11:37:21 +02:00
David Cournapeau 7decc0cdf6 DOC: add a note on why we don't use inspect. 2016-04-02 10:23:21 +01:00
David Cournapeau dbaba50e68 ENH: bundle inspect.isclass to avoid paying the cost of inspect import. 2016-04-01 18:05:01 +01:00
Hynek Schlawack 871bb64cc0 Merge branch 'pr/35'
Fixes #35, #31
2016-03-31 13:15:22 +02:00
Hynek Schlawack c7842b8cb6 CHANGELOG & small nits
Fixes #35, #31
2016-03-31 13:12:36 +02:00