Ben Chuanlong Du's Blog

It is never too late to learn.

Use Flake8 to Lint Python Scripts

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Configration

It is suggested that you put the configuration into a file named .flake8 in the root directory of your project. When flake8 supports pyproject.toml later, it is best to …

Python for Tablet

https://stackoverflow.com/questions/54003194/how-can-i-access-tablet-pen-data-via-python

https://kivy.org/#home

Tips on Python-Language-Server

pip3 install python-language-server[all]

References

https://github.com/palantir/python-language-server

https://github.com/tomv564/pyls-mypy

https://github.com/paradoxxxzero/pyls-isort

https://github.com/rupert/pyls-black

Tips on Django

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

https://hub.docker.com/r/bynd/nginx-django/

https://hub.docker.com/r/abstracttechnology/django/

https://hub.docker.com/r/alang/django/

https://hub.docker.com/r/torz/django/~/dockerfile/

https://hub …

Tips on Darglint

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips and Traps

  1. It is suggested that you avoid using darglint directly, but instead you can use flake8 which will automatically call darglint if it exists.

  2. Improperly escaped \n causes darglint …