Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added docs and github actions #7

Closed
wants to merge 30 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
57e3728
untested implementation of global parameter writing for contacts
Mittmich Aug 26, 2023
eeaa79b
implemented writing file information into global metadata (some tests…
Mittmich Aug 26, 2023
cad192a
Merge branch 'dask-support-fragment-handling' into metadata-handling
Mittmich Sep 3, 2023
6c8af68
removed unused methods
Mittmich Sep 3, 2023
e33e4de
added missing tests
Mittmich Sep 3, 2023
6d7de9e
added description of contact persistence
Mittmich Sep 3, 2023
e8653b6
implement metadata reading of filemanager
Mittmich Sep 9, 2023
717c1b6
implemented loading of pixels
Mittmich Sep 9, 2023
511173e
untested wirte pixels implementation
Mittmich Sep 9, 2023
cd501a4
added tests for writting pixels
Mittmich Sep 9, 2023
0b5573b
convenience method to load pixels from uri (untested)
Mittmich Sep 9, 2023
54ef21e
added tests for uri based pixel loading
Mittmich Sep 18, 2023
cbee6f6
updated pixels description
Mittmich Sep 18, 2023
2e749c7
added mkdocs config file and some markdown pages
Mittmich Sep 24, 2023
0789c14
added more files to documentation
Mittmich Oct 3, 2023
604a648
updated github pages
Mittmich Oct 7, 2023
39bcc93
blackify
Mittmich Oct 7, 2023
8968c15
pylint
Mittmich Oct 7, 2023
6787fb8
linting input
Mittmich Oct 7, 2023
5c3c195
added missing test files
Mittmich Oct 7, 2023
6ab6ac9
added additional files to docs
Mittmich Oct 7, 2023
1f8eaab
added plugin installation to gh pages
Mittmich Oct 7, 2023
26d1f2a
added google style docstrings
Mittmich Oct 7, 2023
fb8df3b
added python workflow
Mittmich Oct 7, 2023
c6acee8
added event trigger
Mittmich Oct 7, 2023
fec8644
blackify
Mittmich Oct 7, 2023
2ed70a6
added pytest dependency
Mittmich Oct 7, 2023
c133be3
added newer version of pytest
Mittmich Oct 7, 2023
051a650
changed trigger for python workflow
Mittmich Oct 7, 2023
051e617
Cleaned up readme.md
Mittmich Oct 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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