Skip to content

Commit 3631948

Browse files
authored
Merge pull request #53 from VERITAS-Observatory/maintenance
Maintenance
2 parents 571ccf2 + c341e11 commit 3631948

File tree

11 files changed

+102
-63
lines changed

11 files changed

+102
-63
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
# Set update schedule for GitHub Actions
23

34
version: 2

.github/workflows/citation-validation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
on:
23
pull_request:
34
branches: [main]

.github/workflows/linter.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ jobs:
8080
VALIDATE_ALL_CODEBASE: false
8181
VALIDATE_GITHUB_ACTIONS: true
8282
VALIDATE_YAML: true
83-
VALIDATE_MARKDOWN: true
8483
VALIDATE_NATURAL_LANGUAGE: true
8584
VALIDATE_DOCKERFILE_HADOLINT: true
8685
VALIDATE_BASH: true

.github/workflows/pypi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
# Derived from https://github.com/cta-observatory/project-template-python-pure/blob/main/.github/workflows/pypi.yml
23
name: Deploy to PyPi
34

.pre-commit-config.yaml

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ repos:
66
hooks:
77
- id: isort
88
args: ["--profile", "black", "--filter-files"]
9-
- repo: https://github.com/astral-sh/ruff-pre-commit
109
# Ruff
11-
rev: v0.11.4
10+
- repo: https://github.com/astral-sh/ruff-pre-commit
11+
rev: v0.11.12
1212
hooks:
1313
- id: ruff
1414
args: ["--fix"]
@@ -20,24 +20,48 @@ repos:
2020
- id: end-of-file-fixer
2121
- id: check-added-large-files
2222
args: ['--maxkb=500']
23-
# https://github.com/HunterMcGushion/docstr_coverage
24-
# - repo: https://github.com/HunterMcGushion/docstr_coverage
25-
# rev: v2.3.2 # most recent docstr-coverage release or commit sha
26-
# hooks:
27-
# - id: docstr-coverage
28-
# args: ["--verbose", "2", "--fail-under", "70.", "v2dl5"]
2923
# Github action
3024
- repo: https://github.com/rhysd/actionlint
3125
rev: v1.7.7
3226
hooks:
3327
- id: actionlint
3428
# https://pyproject-fmt.readthedocs.io/en/latest/
3529
- repo: https://github.com/tox-dev/pyproject-fmt
36-
rev: "v2.5.1"
30+
rev: "v2.6.0"
3731
hooks:
3832
- id: pyproject-fmt
3933
# codespell
4034
- repo: https://github.com/codespell-project/codespell
4135
rev: v2.4.1
4236
hooks:
4337
- id: codespell
38+
# markdownlint
39+
- repo: https://github.com/igorshubovych/markdownlint-cli
40+
rev: v0.45.0
41+
hooks:
42+
- id: markdownlint
43+
args: ["--disable", "MD041"]
44+
# yamllint
45+
- repo: https://github.com/adrienverge/yamllint.git
46+
rev: v1.37.1
47+
hooks:
48+
- id: yamllint
49+
args:
50+
- "--strict"
51+
- "-d"
52+
- >
53+
{
54+
extends: default,
55+
rules: {
56+
line-length: {max: 300},
57+
indentation: {spaces: 2, indent-sequences: consistent},
58+
truthy: {allowed-values: ["true", "false", "on", "off"]}
59+
}
60+
}
61+
# towncrier
62+
- repo: https://github.com/twisted/towncrier
63+
rev: 24.8.0
64+
hooks:
65+
- id: towncrier-update
66+
files: $docs/changes/
67+
args: ['--keep']

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CHANGELOG
2+
3+
All notable changes to the V2DL5-Binary-Analysis project will be documented in this file.
4+
Changes for upcoming releases can be found in the [docs/changes](docs/changes) directory.
5+
Note that changes before release 0.5.0 are not documented here, but can be found in the
6+
[GitHub repository](https://github.com/VERITAS-Observatory/V2DL5-Binary-Analysis/releases).
7+
8+
This changelog is generated using [Towncrier](https://towncrier.readthedocs.io/).
9+
10+
<!-- towncrier release notes start -->

docs/changes/.gitkeep

Whitespace-only changes.

docs/changes/53.maintenance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add towncrier functionality for changelogs.

environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
# installation:
23
# create: mamba env create -f environment.yml
34
# activate: conda activate v2dl5
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
---
12
data:
2-
- instrument: VERITAS
3-
file_name: results/light_curve_nightly.ecsv
4-
plot_instrument: true
5-
plot_variable: flux
6-
flux_axis_label: "Flux E>350 GeV (1/(cm$^2$s))"
7-
marker_type: 'o'
8-
marker_color: 'r'
3+
- instrument: VERITAS
4+
file_name: results/light_curve_nightly.ecsv
5+
plot_instrument: true
6+
plot_variable: flux
7+
flux_axis_label: "Flux E>350 GeV (1/(cm$^2$s))"
8+
marker_type: 'o'
9+
marker_color: 'r'

0 commit comments

Comments
 (0)