Skip to content

Commit af8c64b

Browse files
committed
Dump version 0.0.2
1 parent fb4d2a6 commit af8c64b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# check
1+
# fluentcheck
22
_Fluent assertions for Python_
33

44
Bored of using `assert` multiple times to check types, intervals, etc. on data passed as input to your Python functions?
5-
This generates a lot of boilerplate code. __check__ helps you reducing the lines of code providing you a human-friendly and fluent way to make assertions.
5+
This generates a lot of boilerplate code. __fluentcheck__ helps you reducing the lines of code providing you a human-friendly and fluent way to make assertions.
66

77
Instead of:
88

@@ -18,7 +18,7 @@ def my_function(n, obj):
1818
just:
1919

2020
```python
21-
from check import Check
21+
from fuentcheck import Check
2222

2323
def my_function(n, obj):
2424
Check(n).is_not_None().is_float().is_between(0., 1.)
@@ -44,14 +44,14 @@ Simply instantiate the `Check` wrapper around the Python object you want to
4444
check out, then fluently append assertions like this:
4545

4646
```python
47-
from check import Check
47+
from fluentcheck import Check
4848

4949
Check(my_value).assertion1().assertion2().assertion3() # and so on
5050
```
5151

5252
If the order of assertions matters to your overall goal, then take care of it.
5353

54-
What if an assertion fails? A `CheckError` is issued: just catch it!
54+
What if an assertion fails? A `CheckError` is raised: just catch it!
5555

5656

5757
## What can I actually check with it?

fluentcheck/__init__.py

Whitespace-only changes.
File renamed without changes.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name='fluentcheck',
9-
version='0.0.1',
9+
version='0.0.2',
1010
packages=find_packages(),
1111
include_package_data=True,
1212
install_requires=[

0 commit comments

Comments
 (0)