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

Revision df6b902c73682b84b14cd3e9cf8555ef984d6c85 authored by Bryna Hazelton on 22 February 2024, 06:58:30 UTC, committed by Bryna Hazelton on 22 February 2024, 16:34:03 UTC
reduce the grid size per a conversation with Josh
improve docstrings and comments
1 parent c5d03e8
  • Files
  • Changes
  • a990d3d
  • /
  • .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.

  • revision
  • directory
  • content
revision badge
swh:1:rev:df6b902c73682b84b14cd3e9cf8555ef984d6c85
directory badge
swh:1:dir:a990d3df3789d73ec4c27deb8d3788d0f06ae641
content badge
swh:1:cnt:03eae7497e99027ae5530aae17ea0b0e4dfb70eb

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.

  • revision
  • directory
  • content
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
.pre-commit-config.yaml
exclude: '(^docs/conf.py|^docs/references/|^pyuvdata/data/|^pyuvdata/uvdata/src/|^pyuvdata/tests/Line_Profiler_full.out|.codecov.yml)'

repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.5.0
    hooks:
        - id: trailing-whitespace
        - id: check-added-large-files
        - id: check-ast
        - id: check-json
        - id: check-merge-conflict
        - id: check-xml
        - id: check-yaml
        - id: debug-statements
        - id: end-of-file-fixer
        - id: mixed-line-ending
          args: ['--fix=no']
  - repo: https://github.com/pycqa/flake8
    rev: '7.0.0'
    hooks:
      - id: flake8
        additional_dependencies:
          - flake8-bugbear>=23.12.2
          - flake8-builtins>=2.2.0
          - flake8-comprehensions>=3.14.0
          - flake8-docstrings>=1.7.0
          # - flake8-eradicate>=1.5.0  # many false-positives
          - flake8-pytest-style>=1.7.2
          - flake8-rst-docstrings>=0.3.0
          - pep8-naming>=0.13.3

  - repo: https://github.com/psf/black
    rev: 24.2.0
    hooks:
      - id: black

  - repo: https://github.com/PyCQA/bandit
    rev: 1.7.7
    hooks:
      - id: bandit
        args: [--skip, "B101", --recursive, pyuvdata]

  - repo: https://github.com/pycqa/isort
    rev: 5.13.2
    hooks:
      - id: isort
        name: isort (python)

  # Should add darglint, lots of work to address all the issues it finds!
  # - repo: https://github.com/terrencepreilly/darglint
  #   rev: master
  #   hooks:
  #   - id: darglint
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

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