Skip to content

Commit

Permalink
Merge pull request #6 from gerlichlab/pixel-file-format
Browse files Browse the repository at this point in the history
Pixel file format
  • Loading branch information
Mittmich authored Nov 11, 2023
2 parents 458f1a5 + 3cb4bc8 commit bd2b6f8
Show file tree
Hide file tree
Showing 87 changed files with 5,439 additions and 2,078 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/black_lint_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Unittests

on:
push:
branches:
- master
pull_request:
types: [opened, reopened, review_requested]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Install spoc, black, pylint and pytest
run: pip install . && pip install black==23.9.1 && pip install pylint==2.15.5 && pip install pytest
- name: Run black
run: black --check .
- name: Run pylint
run: pylint --fail-under=8 spoc/* tests/test_*.py
- name: Run tests
run: pytest .
25 changes: 25 additions & 0 deletions .github/workflows/build_pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Docs
on:
push:
branches:
- master
- docs
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material && pip install mkdocstrings[python]
- run: mkdocs gh-deploy --force
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,4 @@ ENV/
# temp stuff
playground/*

#ignare local parquet files
*.parquet
#ignare local parquet files
2 changes: 2 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[MASTER]
extension-pkg-whitelist=pydantic # This is needed since pydantic has binary extensions
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

128 changes: 0 additions & 128 deletions CONTRIBUTING.rst

This file was deleted.

4 changes: 0 additions & 4 deletions HISTORY.rst

This file was deleted.

20 changes: 0 additions & 20 deletions docs/Makefile

This file was deleted.

1 change: 0 additions & 1 deletion docs/authors.rst

This file was deleted.

3 changes: 3 additions & 0 deletions docs/cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# CLI

::: spoc.cli
Loading

0 comments on commit bd2b6f8

Please sign in to comment.