albertmenglongli / albert_demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to albert_demo

This repo demonstrates how an event processing policy can be implemented on an application class.

Developers

After cloning the repository, you can set up a virtual environment and install dependencies by running the following command in the root folder.

$ make install

The make install command uses the build tool Poetry to create a dedicated Python virtual environment for this project, and installs popular development dependencies such as Black, isort and pytest.

Add tests in ./tests. Add code in ./albert_demo.

Run tests.

$ make test

Check the formatting of the code.

$ make lint

Reformat the code.

$ make fmt

Add dependencies in pyproject.toml and then update installed packages.

$ make update-packages

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 85.3%Language:Makefile 14.7%