Commit Graph

180 Commits

Author SHA1 Message Date
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
Tin Tvrtkovic adb08a187a Review feedback incorporated:
* capitalize bullet items
* replace bullet asterisks with dashes
* indent bullet code fragments
* join some lines
2016-03-30 22:54:46 +02:00
Tin Tvrtkovic 7818400ce7 Semantic newlines. 2016-03-29 20:34:03 +02:00
Tin Tvrtkovic cfc42ef222 Add slots docs. 2016-03-28 21:05:00 +02:00
Tin Tvrtkovic 821e8537af We hypothesizin'. 2016-03-23 00:15:14 +01:00
Tin Tvrtkovic fd627355fd Consistency changes in _make.py. 2016-03-21 22:37:49 +01:00
Tin Tvrtkovic c50d5aaa20 Flipped a bunch of asserts in test_slots. 2016-03-21 22:32:23 +01:00
Tin Tvrtkovic 37bc4b878c Rename class_ to cls.
Fix docstrings.
Fix missing parens in a test.
2016-03-17 19:40:11 +01:00
Tin Tvrtkovic 7d0ce60e95 Simplify slots class name handling. 2016-03-16 22:33:44 +01:00
Tin Tvrtkovic 1d21609c14 Fix reprs. 2016-03-16 22:28:43 +01:00
Tin Tvrtkovic bef877320d Flake8 fix. 2016-03-16 03:15:07 +01:00
Tin Tvrtkovic 26b7bff084 Handle some edge cases for slots.
Many more slot tests.
2016-03-16 03:10:28 +01:00
Tin Tvrtkovic 7b201eb199 Initial slots implementation. 2016-03-14 03:02:13 +01:00
Hynek Schlawack 38bd2a7d0d Fix coverage reporting for Python 2 2016-02-20 09:40:26 +01:00
Hynek Schlawack dfea064fa1 Meta 2016-02-20 09:34:45 +01:00
Hynek Schlawack 0b79e086b6 Wording 2016-02-17 13:52:21 +01:00
Hynek Schlawack 89b542331d Drop support for legacy Python versions
Keep 2.7 and PyPy though.
2016-02-17 12:51:02 +01:00
Hynek Schlawack 174d37f941 Allow mandatory attributes after init=False attrs
Maybe not the best design but a valid case nonetheless.
2016-02-06 12:20:37 +01:00
Hynek Schlawack b1cac22b42 Fix reST markup 2016-02-06 11:19:04 +01:00
Hynek Schlawack 632848ee0f 1.4 2016-02-01 09:34:51 +01:00
Hynek Schlawack 2a30ed2c6f Fix reST markup 2016-01-22 13:55:22 +01:00
Hynek Schlawack 27cc283bed readme has been renamed 2016-01-06 14:03:55 +01:00
Hynek Schlawack d590a0ee80 Merge pull request #32 from hynek/better-init-false
Allow the case of initializing attributes that are set to `init=False`
2015-12-20 07:55:45 +01:00
Hynek Schlawack 497d488176 Add PR # 2015-12-20 07:51:19 +01:00
Hynek Schlawack 071c3ffa4e Add docs 2015-12-19 13:51:31 +01:00
Hynek Schlawack 1af3eaa877 Allow the case of initializing attributes that are set to `init=False`
This allows for clean initializer parameter lists while being able to
initialize attributes to default values.
2015-12-19 13:43:07 +01:00
Hynek Schlawack 1f66134c0e Janitoring 2015-12-19 13:05:30 +01:00
Hynek Schlawack 8b172c5988 Start new release cycle 2015-12-08 16:34:45 +01:00
Hynek Schlawack 81ff5309d9 Prepare 15.2.0 2015-12-08 16:24:46 +01:00
Hynek Schlawack e6a2b99cd8 More janitoring 2015-12-08 16:00:06 +01:00
Hynek Schlawack b3fd5c6387 Fix Travis flake8 2015-12-08 15:54:05 +01:00
Hynek Schlawack 5d66e482d8 Repo janitoring 2015-12-08 15:47:03 +01:00
Hynek Schlawack c523e0510f Add some pytest options 2015-12-02 07:47:15 +01:00
Hynek Schlawack fb724af0f9 Merge branch 'pr/27'
Fixes #27
2015-11-19 14:04:16 +01:00
Hynek Schlawack af669b5153 Minor fixes 2015-11-19 14:04:00 +01:00
Christopher Armstrong 716e8acace whoops, line length. 2015-11-19 14:01:00 +01:00
Christopher Armstrong e99a9d1348 use fancy :param <type> <name>: syntax in the rest of the attr.ib docstring 2015-11-19 14:01:00 +01:00
Christopher Armstrong be9a5525bd use semantic newlines in examples.rst 2015-11-19 14:01:00 +01:00
Christopher Armstrong eb38403381 fix markup and use semantic newlines 2015-11-19 14:01:00 +01:00
Christopher Armstrong c74c9b1f1e changelog 2015-11-19 14:01:00 +01:00
Christopher Armstrong 75cd960aaa add doctests to the example document 2015-11-19 13:59:25 +01:00
Christopher Armstrong 2e7b750696 convert before validate, also fix two-space thing 2015-11-19 13:59:25 +01:00
Christopher Armstrong 20357d4368 fix doctests and lint 2015-11-19 13:59:25 +01:00
Christopher Armstrong 365cd89921 add a `convert` keyword to attr.ib() that allows specifying a function to convert the passed-in value. 2015-11-19 13:59:25 +01:00