Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
21 changes: 17 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,36 @@
name: Code Linting 🔎⚡
name: Linting 📑🔎⚡

on:
push:
pull_request:
workflow_dispatch:

jobs:

lint:
ruff:
name: Ruff ⚡🕵

runs-on: ubuntu-latest

steps:

- name: 📥 Checkout repo
uses: actions/checkout@v4

- name: Run Ruff checks ⚡
uses: astral-sh/ruff-action@v3
with:
args: check

markdownlint:
name: Markdownlint 📑🕵

runs-on: ubuntu-latest
steps:
- name: 📥 Checkout repo
uses: actions/checkout@v4

- name: Run markdownlint-cli2-action 📑
uses: DavidAnson/markdownlint-cli2-action@v22
with:
globs: |
*.md
!test/*.md
25 changes: 25 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,56 @@
"bdvp",
"bigstitcher",
"biop",
"clij",
"Dscijava",
"flatfield",
"Fluo",
"IJPB",
"imageplus",
"imarisconvert",
"imglib",
"imgplus",
"interestpoint",
"intermodes",
"javax",
"keyvalue",
"Kheops",
"labelimage",
"listdir",
"micrometa",
"Morpholib",
"multiresolution",
"olefile",
"omerotools",
"ordereddict",
"otsu",
"pathtools",
"phmax",
"Prefs",
"processingoptions",
"PTBIOP",
"PYENV",
"pylint",
"ransac",
"renyi",
"repartitions",
"resultstable",
"RETVAL",
"roimanager",
"rois",
"rollingball",
"scijava",
"shanbhag",
"sjlogging",
"smtpserver",
"spimdata",
"stardist",
"stdv",
"strtools",
"subfolders",
"subsampling",
"TESTDATA",
"thresholding",
"trackmate",
"virtualenv",
"virtualfish"
Expand Down
2 changes: 2 additions & 0 deletions DESC.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
<!-- markdownlint-disable MD041 (first-line-heading) -->

:snake::coffee::nut_and_bolt::wrench:
A collection of commonly used Python helper functions.
6 changes: 3 additions & 3 deletions TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Those parts of the package that do not interact / depend on ImageJ objects can
be tested via [`pytest`][pytest] up to a certain level, some (most?) of them
should even work in a Python 3 environment.

To perform those tests, the packges otherwise provided by ImageJ need to be
mocked using the `imcf-fiji-mocks` package. For seting up a *venv* use the steps
described here:
To perform those tests, the packages otherwise provided by ImageJ need to be
mocked using the `imcf-fiji-mocks` package. For setting up a *venv* use the
steps described here:

```bash
# check if we're "inside" the repo already, otherwise clone it here:
Expand Down
Loading