Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 7, 2023
1 parent 0ee796e commit 8144ee3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ on:
jobs:
doc:
uses: ComPWA/actions/.github/workflows/ci-docs.yml@v1
permissions:
pages: write
id-token: write
with:
apt-packages: graphviz
specific-pip-packages: ${{ inputs.specific-pip-packages }}
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"cSpell.enabled": true,
"coverage-gutters.coverageFileNames": ["coverage.xml"],
"coverage-gutters.coverageReportFileName": "**/htmlcov/index.html",
"coverage-gutters.showGutterCoverage": false,
"coverage-gutters.showLineCoverage": true,
"cSpell.enabled": true,
"editor.formatOnSave": true,
"editor.rulers": [88],
"files.watcherExclude": {
Expand All @@ -50,6 +50,7 @@
}
],
"livePreview.defaultPreviewPath": "docs/_build/html",
"mypy-type-checker.args": ["--config-file", "pyproject.toml"],
"mypy-type-checker.importStrategy": "fromEnvironment",
"python.analysis.autoImportCompletions": false,
"python.analysis.inlayHints.pytestParameters": true,
Expand Down
2 changes: 1 addition & 1 deletion docs/amplitude-analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1730,7 +1730,7 @@
"outputs": [],
"source": [
"n_real_par = fit_result.count_number_of_parameters(complex_twice=True)\n",
"n_events = len(list(data.values())[0])\n",
"n_events = len(next(iter(data.values())))\n",
"log_likelihood = -fit_result.estimator_value\n",
"\n",
"aic = 2 * n_real_par - 2 * log_likelihood\n",
Expand Down

0 comments on commit 8144ee3

Please sign in to comment.