Skip to content

ACortesDev/python-fun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Fun

Playing with Python and Functional Programming (FP) concepts after watching:

The Power of Composition by Scott Wlaschin

The Power of Composition

Content

How do I run the tests?

To type check the code:

docker-compose run python-fun mypy /code --pretty --config-file=pyproject.toml

To run the tests:

docker-compose run python-fun pytest /code/tests -vv -s

Notes

To type check the code, I configured mypy following this article.

I decided to turn-off the mypy rule called warn_return_any to avoid using the # type: ignore comment when using the pipe function.

About

Playing with Python and types to have fun

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published