Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 2, 2024
1 parent a41ec53 commit 1127bb5
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 22 deletions.
12 changes: 6 additions & 6 deletions .github/ISSUE_TEMPLATE/bugreport.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Bug Report
description: File a bug report to help us improve
title: '[Bug]: '
title: "[Bug]: "
labels: [bug, triage]
assignees: []
body:
Expand All @@ -16,7 +16,7 @@ body:
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
placeholder: Tell us what you see!
value: 'A bug happened!'
value: "A bug happened!"
validations:
required: true
- type: textarea
Expand Down Expand Up @@ -50,7 +50,7 @@ body:
label: Which Python version are you using?
multiple: true
options:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- "3.7"
- "3.8"
- "3.9"
- "3.10"
6 changes: 3 additions & 3 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ updates:
# directory: '/'
# schedule:
# interval: 'weekly'
- package-ecosystem: 'github-actions'
directory: '/'
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates once a week
interval: 'weekly'
interval: "weekly"
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
pull_request:
schedule:
- cron: '0 0 * * *' # Daily “At 00:00”
- cron: "0 0 * * *" # Daily “At 00:00”
workflow_dispatch: # allows you to trigger manually

concurrency:
Expand All @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
Expand All @@ -31,7 +31,7 @@ jobs:
activate-environment: xpersist-dev
auto-update-conda: false
python-version: ${{ matrix.python-version }}
mamba-version: '*'
mamba-version: "*"
use-mamba: true
miniforge-variant: Mambaforge
environment-file: ci/environment.yml
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/upstream-dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Upstream CI
on:
push:
schedule:
- cron: '0 0 * * *' # Daily “At 00:00” UTC
- cron: "0 0 * * *" # Daily “At 00:00” UTC
workflow_dispatch: # allows you to trigger the workflow run manually

concurrency:
Expand All @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
Expand All @@ -31,7 +31,7 @@ jobs:
auto-update-conda: false
python-version: ${{ matrix.python-version }}
environment-file: ci/upstream-dev-environment.yml
mamba-version: '*'
mamba-version: "*"
use-mamba: true
miniforge-variant: Mambaforge

Expand Down
4 changes: 2 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ codecov:
comment: false

ignore:
- 'tests/*.py'
- 'setup.py'
- "tests/*.py"
- "setup.py"

coverage:
precision: 2
Expand Down
4 changes: 2 additions & 2 deletions readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ version: 2
conda:
environment: ci/environment-docs.yml
build:
os: 'ubuntu-20.04'
os: "ubuntu-20.04"
tools:
python: 'mambaforge-4.10'
python: "mambaforge-4.10"
4 changes: 1 addition & 3 deletions xpersist/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@


class Decorator(Protocol):
def __call__(self, name: str) -> typing.Callable[[_DIn], _DIn]:
...
def __call__(self, name: str) -> typing.Callable[[_DIn], _DIn]: ...


class registry:

"""xpersist's global registry entrypoint.
This is used to register serializers and other components that are used by xpersist.
Expand Down

0 comments on commit 1127bb5

Please sign in to comment.