Skip to main content

Breadcrumbs Collector

  • About author
  • Cookie Policy
  • Privacy Policy

Category: mypy

mypy: how to use it in my project? Part 3: kick-ass tools that leverage type annotations

March 27, 2020March 21, 2020 Sebastian Leave a comment

Type annotations are a formalized way to add some extra information about types to your project. Once you get through adding mypy to your project and annotate your code (remember you can do it automatically, at least to some extent) you will find yourself at the ocean of possibilities. This post will show the most […]

Read More

mypy: how to use it in my project? Part 2: automatically annotate code

March 23, 2020March 21, 2020 Sebastian Leave a comment

Even after successful integration of mypy with an existing project (see mypy: how to use it in my project part 1), there are tons of code that does not have type annotations. Adding them manually is an unimaginable amount of work. We may do it gradually (as suggested in part 1) or use tools to […]

Read More

mypy: how to use it in my project?

March 20, 2020March 20, 2020 Sebastian 2 Comments

Type annotations are like comments Type annotations are a great addition to Python. Thanks to them, finally our IDEs are able to provide good quality autocompletion. They did not turn Python into statically typed language, though. If you put a wrong annotation (or forget to update it after code change), Python will still happily try […]

Read More

Categories

  • python 30
  • dajsiepoznac2017 22
  • extjs-pathfinder 9
  • asyncio 7
  • software engineering 7
  • testing software 6
  • clean architecture 5
  • good practices 5
  • event sourcing 4
  • type annotations 3

Recent Posts

  • Modular monolith in Python
  • @staticmethod considered a code smell
  • How to implement a service layer in Django + Rest Framework
  • Encapsulation is your friend, also in Python
  • How to patch in Python?

RSS – Stay up to date

  • RSS - Posts
  • RSS - Comments

Categories

  • python 30
  • dajsiepoznac2017 22
  • extjs-pathfinder 9
  • asyncio 7
  • software engineering 7

Archives

  • December 2020
  • May 2020
  • April 2020
  • March 2020
  • October 2019
  • April 2019
  • August 2018
  • February 2018
  • January 2018
  • September 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • GitHub
  • LinkedIn
  • Twitter
sparkling Theme by Colorlib Powered by WordPress
This site uses cookies: Find out more.