wwvbpy/.pre-commit-config.yaml
Jeff Epler df39d0eab6
Test DUT1 data against leapseconddata
.. fix the leap seconds in 1972, which are not in Bulletin A.

.. add the moment of the leap second to the `dut1table`
outut, which is otherwise confusing to intuit

.. allow processing a local copy of the finals2000A file, for quicker
turnaround when developing updateiers
2022-10-08 13:40:56 -05:00

35 lines
864 B
YAML

# SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
#
# SPDX-License-Identifier: Unlicense
repos:
- repo: https://github.com/psf/black
rev: 22.8.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: tests
- id: trailing-whitespace
exclude: tests
- repo: https://github.com/fsfe/reuse-tool
rev: v1.0.0
hooks:
- id: reuse
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: python
types: [python]
additional_dependencies: [beautifulsoup4, "pylint==2.13.5", requests, adafruit-circuitpython-datetime, click, python-dateutil, leapseconddata]
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
name: isort (python)
args: ['--profile', 'black']