Skip to content
Open
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
5 changes: 5 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[codespell]
skip = .git,*.pdf,*.svg,.codespellrc
check-hidden = true
# ignore-regex =
# ignore-words-list =
22 changes: 22 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Codespell

on:
push:
branches: [main]
pull_request:
branches: [main]

permissions:
contents: read

jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Codespell
uses: codespell-project/actions-codespell@v2
2 changes: 1 addition & 1 deletion queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def query_crossref(doi, session, email="m.szczepanik@fz-juelich.de"):
author["identifiers"] = [
{"name": "ORCID", "identifier": orcid},
]
# TODO: e-mail is required in the catalog shema dshgafhfadasfhdsgjfgasdjfgasdj!!!
# TODO: e-mail is required in the catalog schema dshgafhfadasfhdsgjfgasdjfgasdj!!!
authors.append(author)

pub["authors"] = authors
Expand Down
2 changes: 1 addition & 1 deletion status2tabby.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
def transform_result(res):
"""Transform status result to get required information

Transformed result contais relative path, size in bytes, and
Transformed result contains relative path, size in bytes, and
optionally md5sum. Keys match the sfb1451 tabby specification.

"""
Expand Down