python_code_quality is an example package containing demo code for the Python Code Quality talk.
-
Install Python 3.9 or higher, i.e. Python 3.9 or Python 3.10
-
Update pip and setuptools:
$ python -m pip install --upgrade pip setuptools
-
git clone the python_code_quality repository into your local development directory:
git clone https://github.com/ClaasRostock/python_code_quality path/to/your/dev/python_code_quality
-
In the python_code_quality root folder:
Create a Python virtual environment:
$ python -m venv .venv
Activate the virtual environment:
..on Windows:> .venv\Scripts\activate.bat
..on Linux:
$ source .venv/bin/activate
Update pip and setuptools:
$ python -m pip install --upgrade pip setuptools
Install python_code_quality's dependencies:
$ pip install -r requirements-dev.txt
Copyright (c) 2023 Claas Rostock
Claas Rostock – @LinkedIn – claas.rostock@dnv.com
Distributed under the MIT license. See LICENSE for more information.
https://github.com/ClaasRostock/python_code_quality
- Fork it (https://github.com/ClaasRostock/python_code_quality/fork)
- Create your branch (
git checkout -b myBranchName
) - Commit your changes (
git commit -am 'place your commit message here'
) - Push to the branch (
git push origin myBranchName
) - Create a new Pull Request
For your contribution, please make sure you follow the STYLEGUIDE before creating the Pull Request.