Skip to content

Commit

Permalink
FEAT: import reports from compwa.github.io (#1)
Browse files Browse the repository at this point in the history
* DX: drop support for Python 3.7 and 3.8
* DX: recommend VS Code extension for SVG
* DX: remove `python.analysis.typeCheckingMode` setting
* DX: store TR-004, TR-013, and TR-022 output in subdirectory
* MAINT: autoupdate pre-commit hooks
* MAINT: move `orientation-K.svg` to GitHub
* MAINT: remove PyPI release worklfow
* MAINT: sort keyword arguments
* MAINT: update notebook kernels

---

Co-authored-by: Lena Pöpping <[email protected]>
Co-authored-by: Miriam Fritsch <[email protected]>
Co-authored-by: Vitor Shen <[email protected]>
Co-authored-by: Wolfgang Gradl <[email protected]>
  • Loading branch information
5 people authored Oct 1, 2024
1 parent e8028ac commit 3742aa5
Show file tree
Hide file tree
Showing 70 changed files with 40,592 additions and 0 deletions.
309 changes: 309 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,309 @@
{
"version": "0.2",
"allowCompoundWords": false,
"enableFiletypes": [
"git-commit",
"github-actions-workflow",
"julia",
"jupyter"
],
"flagWords": [
"analyse",
"colour",
"comparision",
"favour",
"flavour",
"hte",
"optimise",
"paramater",
"parmater",
"transision",
"transisions"
],
"ignorePaths": [
"**/*.bib",
"**/.cspell.json",
"**/Manifest.toml",
"**/Project.toml",
"*.ico",
".editorconfig",
".envrc",
".gitattributes",
".gitignore",
".pre-commit-config.yaml",
".prettierignore",
".readthedocs.yml",
".vscode/*",
"docs/conf.py",
"pyproject.toml",
"tox.ini"
],
"language": "en-US",
"overrides": [
{
"allowCompoundWords": true,
"filename": "**/*.jl",
"languageId": "julia"
}
],
"words": [
"AmpForm",
"analyticity",
"arccos",
"arctan",
"Argand",
"autograd",
"Blatt",
"Breit",
"Byckling",
"Colab",
"ComPWA",
"Dalitz",
"dummifies",
"dummify",
"eigenstates",
"Flatté",
"functools",
"GlueX",
"graphviz",
"Hankel",
"helicities",
"helicity",
"hepstats",
"Hippel",
"iminuit",
"IPython",
"JHEP",
"JPAC",
"Ketzer",
"Källén",
"lambdification",
"lambdified",
"lambdifies",
"lambdify",
"lambdifying",
"LHCb",
"lineshape",
"lineshapes",
"matplotlib",
"Mikhasenko",
"NumPy",
"parametrizations",
"plotly",
"pyplot",
"QRules",
"Quigg",
"SciPy",
"sympify",
"SymPy",
"TensorWaves",
"traceback",
"unevaluatable",
"unitarity",
"unitless",
"unphysical",
"vectorize",
"Weisskopf",
"zfit"
],
"ignoreWords": [
"Kutschke",
"Marangotto",
"PYTHONHASHSEED",
"Richman",
"absl",
"aitchison",
"allclose",
"arange",
"asarray",
"asdot",
"aslatex",
"astype",
"autoscale",
"axhline",
"axvline",
"azim",
"bbox",
"bgcolor",
"boldsymbol",
"cbar",
"clim",
"cmap",
"cmax",
"cmin",
"codegen",
"codemirror",
"colorbar",
"colorscale",
"combi",
"coolwarm",
"cxxcode",
"dataframe",
"deepcopy",
"defaultdict",
"displaystyle",
"dotprint",
"einsum",
"elif",
"endswith",
"epsabs",
"epsrel",
"eqnarray",
"errordef",
"facecolor",
"facecolors",
"fcode",
"figsize",
"filterwarnings",
"fontcolor",
"fontsize",
"framealpha",
"funcs",
"fvector",
"griddata",
"gridspec",
"heli",
"histtype",
"hotpink",
"hoverinfo",
"hspace",
"hypotests",
"iframe",
"imag",
"infty",
"ioff",
"iplt",
"ipykernel",
"ipympl",
"ipynb",
"ipyplot",
"ipywidgets",
"isdigit",
"isinstance",
"isospin",
"itertools",
"joinpath",
"jpsi",
"juliaup",
"kernelspec",
"kwargs",
"lambdifygenerated",
"lightgray",
"linestyle",
"linewidth",
"linspace",
"lstrip",
"makedirs",
"matexpr",
"mathbb",
"mathbf",
"mathcal",
"mathml",
"mathop",
"mathrm",
"mathtt",
"maxsize",
"meshgrid",
"migrad",
"mmikhasenko",
"mname",
"msigma",
"mystnb",
"nanmax",
"nanmean",
"nanstd",
"nansum",
"nbconvert",
"nbformat",
"nbmake",
"nbody",
"nbsp",
"ncols",
"ndarray",
"nonlocal",
"nonumber",
"nrows",
"nstar",
"numpycode",
"operatorname",
"pathlib",
"pbar",
"pcolormesh",
"permutate",
"phasespace",
"phsp",
"pkpi",
"pmatrix",
"prereleased",
"println",
"pvalues",
"pycode",
"pyfunc",
"pygments",
"pytest",
"quadpy",
"rankdir",
"rcdefaults",
"redeboer",
"relim",
"repr",
"royalblue",
"rpartition",
"rstrip",
"rtol",
"savefig",
"scalex",
"scaley",
"seealso",
"sharex",
"sharey",
"showlegend",
"showscale",
"simplefilter",
"startswith",
"staticmethod",
"substack",
"suptitle",
"surfacecolor",
"symplot",
"tbody",
"textwrap",
"thead",
"ticklabels",
"ticktext",
"tickvals",
"timeit",
"toctree",
"toolkits",
"toprettyxml",
"tqdm",
"twinx",
"unbinned",
"unnormalized",
"unsrt",
"viridis",
"vmax",
"vmin",
"wspace",
"xanchor",
"xaxis",
"xdata",
"xlabel",
"xlim",
"xreplace",
"xticklabels",
"xticks",
"yanchor",
"yaxis",
"ydata",
"ylabel",
"ylim",
"yticklabels",
"yticks",
"zaxis",
"zlabel",
"zlim",
"zorder",
"zticks"
]
}
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
root = true

[*]
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.{ipynb,md}]
indent_size = unset

[*.{py,toml}]
indent_size = 4

[LICENSE]
indent_size = unset
10 changes: 10 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
if [ -e .venv ]; then
source .venv/bin/activate
elif [ -e venv ]; then
source venv/bin/activate
elif [ -e .pixi ]; then
watch_file pixi.lock
eval "$(pixi shell-hook)"
else
layout anaconda
fi
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pixi.lock linguist-language=YAML linguist-generated=true
39 changes: 39 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name-template: ComPWA Technical Reports $NEXT_PATCH_VERSION
tag-template: $NEXT_PATCH_VERSION

references:
- main
- epic/*

categories:
- title: ✨ New features
label: ✨ Feature
- title: ⚠️ Enhancements and optimizations
label: ⚙️ Enhancement
- title: ⚠️ API changes
label: ⚠️ Interface
- title: ⚠️ Changes that may affect behavior
label: ❗ Behavior
- title: 🐛 Bug fixes
label: 🐛 Bug
- title: 📝 Documentation
label: 📝 Docs
- title: 🔨 Maintenance
label: 🔨 Maintenance
- title: 🖱️ Developer Experience
label: 🖱️ DX

change-template: "- $TITLE (#$NUMBER)"

replacers:
- search: /([A-Z]+!?:\s*)(.*)/g
replace: $2

sort-direction: ascending

template: |
_See all documentation for this version [here](https://report.rtfd.io/en/$NEXT_PATCH_VERSION)._
$CHANGES
_The full changelog as commits can be found [here](https://github.com/ComPWA/report/compare/$PREVIOUS_TAG...$NEXT_PATCH_VERSION)._
16 changes: 16 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CD

on:
release:
types:
- prereleased
- released

jobs:
milestone:
if: startsWith(github.ref, 'refs/tags')
uses: ComPWA/actions/.github/workflows/close-milestone.yml@v1
push:
if: startsWith(github.ref, 'refs/tags') && !github.event.release.prerelease
secrets: inherit
uses: ComPWA/actions/.github/workflows/push-to-version-branches.yml@v1
Loading

0 comments on commit 3742aa5

Please sign in to comment.