Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://doi.org/10.5281/zenodo.20529200
03 June 2026, 14:34:07 UTC
  • Code
  • Branches (0)
  • Releases (1)
  • Visits
    • Branches
    • Releases
      • 1
      • 1
    • 05667ca
    • /
    • epiforecasts-evalvariantnowcasthub-7408139
    • /
    • .pre-commit-config.yaml
    Raw File Download

    To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
    Select below a type of object currently browsed in order to display its associated SWHID and permalink.

    • content
    • directory
    • snapshot
    • release
    origin badgecontent badge
    swh:1:cnt:19dcadbef55b00c4ceed1100f8cda3316384eb2b
    origin badgedirectory badge
    swh:1:dir:2fc2ddeffb8d9873fe4858817527656eb4e69c9c
    origin badgesnapshot badge
    swh:1:snp:0453488ac9e0a7e4786ade14126aa07a65676dd6
    origin badgerelease badge
    swh:1:rel:6ee745439727139a1132f76e346ed1ad967612fb

    This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
    Select below a type of object currently browsed in order to generate citations for them.

    • content
    • directory
    • snapshot
    • release
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    .pre-commit-config.yaml
    # All available hooks: https://pre-commit.com/hooks.html
    # R specific hooks: https://github.com/lorenzwalthert/precommit
    repos:
    -   repo: https://github.com/lorenzwalthert/precommit
        rev: v0.4.3.9020
        hooks:
        -   id: style-files
            args: [--style_pkg=styler, --style_fun=tidyverse_style]
        # codemeta must be above use-tidy-description when both are used
        # -   id: codemeta-description-updated
        -   id: use-tidy-description
        -   id: lintr
        -   id: parsable-R
        -   id: no-browser-statement
        -   id: deps-in-desc
    -   repo: https://github.com/pre-commit/pre-commit-hooks
        rev: v6.0.0
        hooks:
        -   id: check-added-large-files
            args: ['--maxkb=200']
        -   id: end-of-file-fixer
            exclude: '\.Rd'
    -   repo: local
        hooks:
        -   id: forbid-to-commit
            name: Don't commit common R artifacts
            entry: Cannot commit .Rhistory, .RData, .Rds or .rds.
            language: fail
            files: '\.Rhistory|\.RData|\.Rds|\.rds$'
    -   repo: meta
        hooks:
        -   id: check-hooks-apply
        -   id: check-useless-excludes
    -   repo: https://github.com/pre-commit/pre-commit-hooks
        rev: v6.0.0
        hooks:
        -   id: trailing-whitespace
        -   id: check-yaml
        -   id: check-added-large-files
    

    back to top

    Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
    The source code of Software Heritage itself is available on our development forge.
    The source code files archived by Software Heritage are available under their own copyright and licenses.
    Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API