diff --git a/.github/ISSUE_TEMPLATE/bugreport.yml b/.github/ISSUE_TEMPLATE/bugreport.yml index af61939..fb4015e 100644 --- a/.github/ISSUE_TEMPLATE/bugreport.yml +++ b/.github/ISSUE_TEMPLATE/bugreport.yml @@ -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: @@ -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 @@ -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" diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index fe0bcda..838c16e 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -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" diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4b83952..b78f6ae 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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: @@ -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 @@ -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 diff --git a/.github/workflows/upstream-dev-ci.yaml b/.github/workflows/upstream-dev-ci.yaml index 23c0850..cf01302 100644 --- a/.github/workflows/upstream-dev-ci.yaml +++ b/.github/workflows/upstream-dev-ci.yaml @@ -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: @@ -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 @@ -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 diff --git a/codecov.yml b/codecov.yml index aa1da5f..3961baf 100644 --- a/codecov.yml +++ b/codecov.yml @@ -5,8 +5,8 @@ codecov: comment: false ignore: - - 'tests/*.py' - - 'setup.py' + - "tests/*.py" + - "setup.py" coverage: precision: 2 diff --git a/readthedocs.yml b/readthedocs.yml index 68e5895..1aed175 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -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" diff --git a/xpersist/registry.py b/xpersist/registry.py index 663a85e..ef2346b 100644 --- a/xpersist/registry.py +++ b/xpersist/registry.py @@ -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.