Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tarcisioe/cosmic
Exercises from Cosmic Python.
https://github.com/tarcisioe/cosmic
Last synced: about 1 month ago
JSON representation
Exercises from Cosmic Python.
- Host: GitHub
- URL: https://github.com/tarcisioe/cosmic
- Owner: tarcisioe
- License: mit
- Created: 2022-07-01T06:32:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-01T22:36:54.000Z (over 2 years ago)
- Last Synced: 2024-03-23T23:50:16.812Z (9 months ago)
- Language: Python
- Size: 71.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
cosmic
======This is an implementation of the exercises from [Cosmic Python](https://www.cosmicpython.com/).
Commits are tagged according to where in the book the implementation is.
Developing
----------### Environment
To create a development environment, run```
poetry install
```and then activate it with
```
poetry shell
```Then run
```
pre-commit install
```to install pre-commit hooks.
### Testing
To run all tests, run
```
summon test
```for coverage, and optionally html report generation, run
```
summon test --coverage --html
```### Linting and formatting
To run all linters/static checkers (flake8, pylint, mypy), run
```
summon lint
```To format code run
```
summon format
```To just check formatting, run
```
summon format --check
```