Skip to content

kirkedev/euler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Euler

Setup

Create a virtual environment and activate it

python -m venv .venv
source .venv/bin/activate

Verify the environment is activated and install dependencies

which python
pip install -r requirements.txt

Verify installation by running tests

pytest

To deactivate the environment, just run deactivate in the terminal. You should activate the environment when working on the project and deactivate when finished.

Activate git hooks

git config core.hooksPath .githooks

Commands

Run solutions

bin/solve           # Run all solutions
bin/solve 1         # Run the first solution
bin/solve 1 2 3     # Run the first 3 solutions 

Lint code, check types, and run tests

bin/check

About

Project euler problems 1-100 in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published