Skip to content

Commit

Permalink
Merge pull request #285 from Mesnage-Org/ns-rse/259-muropeptides-wasm…
Browse files Browse the repository at this point in the history
…-working
  • Loading branch information
TheLostLambda authored Jul 26, 2024
2 parents 1500505 + 7818c03 commit d78b930
Show file tree
Hide file tree
Showing 99 changed files with 10,352 additions and 2,853 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/e2e-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@ jobs:
run: pnpm exec playwright install --with-deps

- name: Run Playwright Tests
run: pnpm test
run: |
tree -fhD # Looking for location of smithereens_bg.wasm
pnpm test
8 changes: 6 additions & 2 deletions .github/workflows/web-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ jobs:
- name: Install Project Dependencies
run: pnpm install

# This is needed for `pnpm check` to find the WASM code's type definitions
- name: HACK — Build Once
run: pnpm build

- name: Run Svelte Check
run: pnpm check

# - name: Run Prettier & ESLint
# run: pnpm lint
- name: Run Prettier & ESLint
run: pnpm lint
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "smithereens"]
path = smithereens
url = [email protected]:TheLostLambda/pgfinder-next.git
branch = pgfinder-2
33 changes: 3 additions & 30 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0 # Use the ref you want to point at
rev: v4.6.0 # Use the ref you want to point at
hooks:
- id: check-case-conflict
- id: check-symlinks
Expand All @@ -24,7 +24,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 24.3.0
rev: 24.4.2
hooks:
- id: black
types: [python]
Expand All @@ -33,38 +33,11 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: "v0.3.4"
rev: v0.4.9
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

# - repo: https://github.com/pre-commit/mirrors-prettier
# rev: v3.1.0
# hooks:
# - id: prettier
# args: [--write] # edit files in-place
# additional_dependencies:
# - prettier
# - prettier-plugin-svelte
# - svelte

- repo: https://github.com/pre-commit/mirrors-eslint
rev: v9.0.0-rc.0
hooks:
- id: eslint
types: [file]
args: [--fix, --resolve-plugins-relative-to, ~/.cache/pre-commit]
files: \.(js|ts|svelte)$
additional_dependencies:
- eslint
- typescript
- svelte
- svelte-eslint-parser
- eslint-plugin-svelte
- eslint-config-prettier
- '@typescript-eslint/eslint-plugin'
- '@typescript-eslint/parser'

ci:
autofix_prs: true
autofix_commit_msg: '[pre-commit.ci] Fixing issues with pre-commit'
Expand Down
3 changes: 3 additions & 0 deletions lib/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@ cov*.xml
#Built docs
docs/_build/*

# Sphinx .rst
*.rst

# Setuptools Version file
pgfinder/_version.py
Loading

0 comments on commit d78b930

Please sign in to comment.