Commit Graph

14 Commits

Author SHA1 Message Date
Hynek Schlawack 692e4613a0 Add instance_of validator 2015-01-29 12:20:17 +01:00
Hynek Schlawack 69a460d336 Add no-nonsense aliases for attr.s and attr.ib
I like the original ones but let's not give haters extra ammunition. :)
2015-01-29 10:17:08 +01:00
Hynek Schlawack 774cf0142a Pass the Attribute object into validators
This allows for more generic validators.
2015-01-29 09:22:06 +01:00
Hynek Schlawack 3f2fd8317d More doc polishing 2015-01-28 16:55:45 +01:00
Hynek Schlawack 211bd02b97 Officially start the 15.0.0 cycle 2015-01-28 16:05:13 +01:00
Hynek Schlawack d5d3dfcdb5 Some minor doc polish 2015-01-28 16:02:18 +01:00
Hynek Schlawack 372c55318c Add validators 2015-01-28 15:54:41 +01:00
Hynek Schlawack d291e8c4dc Add some API docs
Also define ls and has only for classes.
2015-01-28 15:16:42 +01:00
Hynek Schlawack fdd41b0466 Rename s to _add_methods
...and rename within __init__.py
2015-01-28 12:38:54 +01:00
Hynek Schlawack 14c5485cf5 Use proper Attributes in all dunders 2015-01-28 11:34:55 +01:00
Hynek Schlawack 104e663551 Add `has` 2015-01-28 11:34:30 +01:00
Hynek Schlawack 58d5c0a767 Get rid of <> in repr
Closes #1
2015-01-27 23:08:55 +01:00
Hynek Schlawack 5ce5e48074 Change attr.a to attr.ib
Closes #2
2015-01-27 23:03:42 +01:00
Hynek Schlawack 9560908555 Initial commit
Docs aren't there yet
2015-01-27 17:53:17 +01:00