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
.githubrepository.
MacOS & Linux
python3 -VWindows
python -VMacOS & Linux
python3 -m ensurepip --upgradeWindows
python -m ensurepip --upgradegit clone [email protected]:gabrielg2020/codeowners.git && cd codeownersMacOS & Linux
python3 -m venv .venv && source .venv/bin/activateWindows
python -m venv C:\path\to\codeowners\.venvC:\path\to\codeowners\.venv\Scripts\activate.batMacOS & Linux
pip3 install -r requirements.txtWindows
pip install -r requirements.txtMacOS & Linux
cp .env.dist .env && sed -i 's/tk/<REPLACE_ME_WITH_YOUR_TOKEN>/g' .envWindows
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.gitpytestError highlighting
pytest -vv --code-highlighting=yesLoads 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.