ClaasRostock / python_code_quality

Demo code for the "Code Quality in Python" Talk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python_code_quality

python_code_quality is an example package containing demo code for the Python Code Quality talk.

Development Setup

  1. Install Python 3.9 or higher, i.e. Python 3.9 or Python 3.10

  2. Update pip and setuptools:

    $ python -m pip install --upgrade pip setuptools
  3. 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
  4. 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

Meta

Copyright (c) 2023 Claas Rostock

Claas Rostock – @LinkedInclaas.rostock@dnv.com

Distributed under the MIT license. See LICENSE for more information.

https://github.com/ClaasRostock/python_code_quality

Contributing

  1. Fork it (https://github.com/ClaasRostock/python_code_quality/fork)
  2. Create your branch (git checkout -b myBranchName)
  3. Commit your changes (git commit -am 'place your commit message here')
  4. Push to the branch (git push origin myBranchName)
  5. Create a new Pull Request

For your contribution, please make sure you follow the STYLEGUIDE before creating the Pull Request.

About

Demo code for the "Code Quality in Python" Talk

License:MIT License


Languages

Language:Python 99.8%Language:Batchfile 0.2%