This was built for my Software Engineering Fundamentals Module (QAC020C125SS).
- Python 3.10 + installed
- A GitHub Organisation.
- Personal Access Token for GitHub Organisation, with Read/Write access.
- GitHub Organisation has a
.github
repository.
MacOS & Linux
python3 -V
Windows
python -V
MacOS & Linux
python3 -m ensurepip --upgrade
Windows
python -m ensurepip --upgrade
git clone [email protected]:gabrielg2020/codeowners.git && cd codeowners
MacOS & Linux
python3 -m venv .venv && source .venv/bin/activate
Windows
python -m venv C:\path\to\codeowners\.venv
C:\path\to\codeowners\.venv\Scripts\activate.bat
MacOS & Linux
pip3 install -r requirements.txt
Windows
pip install -r requirements.txt
MacOS & Linux
cp .env.dist .env && sed -i 's/tk/<REPLACE_ME_WITH_YOUR_TOKEN>/g' .env
Windows
copy .env.dist .env && powershell -Command "(Get-Content '.env') -replace 'tk','<REPLACE_ME_WITH_YOUR_TOKEN>' | Set-Content '.env'"
git clone [email protected]:codeowners-rfc-test/testing-repo.git
pytest
Error highlighting
pytest -vv --code-highlighting=yes
Loads variables in .env
into run-time enviroment variables.
Unit testing package and it's class mocking library.
Improved info
, warning
and error
logging.
GitHub API v3 wrapper.
Python linting.