Skip to content

adamcameron/learning-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learning-python

And now I need to learn Python...

Bring up the dev environment:

docker compose -f docker/docker-compose.yml down # optional: --remove-orphans --volumes
docker compose -f docker/docker-compose.yml build
docker compose -f docker/docker-compose.yml up --detach

Currently this just runs bash and sits there waiting.

There is a shell script bin/rebuild.sh that does the above steps in one go (including removing orphans and volumes).

Tooling

# run tests
docker exec learning-python-python-1 uv run pytest

# run test watcher
docker exec -it learning-python-python-1 uv run ptw .

# check code syntax
docker exec learning-python-python-1 uvx ruff check

# fix code formatting
docker exec learning-python-python-1 uvx ruff format

About

And now I need to learn Python...

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •