|
5 | 5 | [](https://github.com/FullStackWithLawrence/secure-logger/actions) |
6 | 6 |  |
7 | 7 | [](https://github.com/FullStackWithLawrence/secure-logger) |
| 8 | +code](https://img.shields.io/static/v1?logo=github&label=Git&style=flat-square&color=orange&message=Source%20code)](https://github.com/FullStackWithLawrence/secure-logger) |
9 | 9 | [](https://github.com/FullStackWithLawrence/secure-logger/releases) |
10 | 10 | [](https://pypi.org/project/secure-logger) |
@@ -135,31 +135,3 @@ DEFAULT_SENSITIVE_KEYS = [ |
135 | 135 |
|
136 | 136 | Pull requests are welcome, and you can also contact [Lawrence |
137 | 137 | McDaniel](https://lawrencemcdaniel.com/contact) directly. |
138 | | - |
139 | | -### Getting Started With Local development |
140 | | - |
141 | | -- Use the same virtual environment that you use for edx-platform |
142 | | -- Ensure that your Python interpreter to 3.11 |
143 | | -- install black: <https://pypi.org/project/black/> |
144 | | -- install flake8: <https://flake8.pycqa.org/en/latest/> |
145 | | -- install flake8-coding: <https://pypi.org/project/flake8-coding/> |
146 | | - |
147 | | -``` bash |
148 | | -# Run these from within your edx-platform virtual environment |
149 | | -python3 -m venv venv |
150 | | -source venv/bin/activate |
151 | | - |
152 | | -pip install -r requirements/local.txt |
153 | | -pip install pre-commit black flake8 |
154 | | -pre-commit install |
155 | | -``` |
156 | | - |
157 | | -#### Local development good practices |
158 | | - |
159 | | -- run `black` on modified code before committing. |
160 | | -- run |
161 | | - `flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics` |
162 | | -- run |
163 | | - `flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics` |
164 | | -- run `pre-commit run --all-files` before pushing. see: |
165 | | - <https://pre-commit.com/> |
0 commit comments