Skip to content

Commit

Permalink
Merge pull request #138 from rl-institut/version/1_0_0
Browse files Browse the repository at this point in the history
Version/1 0 0
  • Loading branch information
j-brendel authored Aug 10, 2023
2 parents f06de77 + 11d8ced commit 9ccc65e
Show file tree
Hide file tree
Showing 81 changed files with 10,441 additions and 880 deletions.
5 changes: 3 additions & 2 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[flake8]
exclude = meta/migrations/, docs/
max-line-length=100
exclude = docs,src,spice_ev,data
max-line-length=100
docstring_style=sphinx
33 changes: 33 additions & 0 deletions .github/workflows/test-python-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Test Python Application

on:
[push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.10']

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest darglint
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
flake8 .
- name: Test with pytest
run: |
pytest tests/
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.vscode/
.DS_Store
.python-version
*.pyc
.idea/
.env
__pycache__

docs/_build
docs/source/temp

data/*
!data/examples

src/
spice_ev/
*.bak
Loading

0 comments on commit 9ccc65e

Please sign in to comment.