Skip to content

Commit 83a15cb

Browse files
committed
Merge branch 'main' into fix/multiversion-build
2 parents 113511a + 70456d8 commit 83a15cb

File tree

24 files changed

+766
-79
lines changed

24 files changed

+766
-79
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
poetry.lock linguist-generated=true

.github/workflows/cd.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,9 @@ jobs:
1616
uses: ./.github/workflows/build-and-publish.yml
1717
secrets:
1818
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
19+
20+
publish-docs:
21+
needs: [ cd-job ]
22+
name: Publish Documentation
23+
uses: ./.github/workflows/gh-pages.yml
24+

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Publish Documentation
22

3-
on: workflow_call
3+
on:
4+
workflow_call:
5+
workflow_dispatch:
46

57
jobs:
68

.github/workflows/report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@ jobs:
5151
poetry run coverage report -- --format markdown >> $GITHUB_STEP_SUMMARY
5252
echo -e "\n\n# Static Code Analysis\n" >> $GITHUB_STEP_SUMMARY
5353
cat .lint.txt >> $GITHUB_STEP_SUMMARY
54+
poetry run tbx security pretty-print .security.json >> $GITHUB_STEP_SUMMARY

.import_linter_config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[importlinter]
2+
root_package = exasol.toolbox

doc/changes/unreleased.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
11
# Unreleased
2+
3+
## 🐞 Fixed
4+
5+
* Fixed the issue with publishing new documentation after releasing a new version
6+
## ✨ Added
7+
8+
* #149: Added nox task to lint imports
9+
* Added support to manually trigger documentation build
10+
* #248: Added security results to workflow summary
11+
* #233: Added nox task to verify dependency declarations

doc/developer_guide/modules/modules.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ Modules
66

77
sphinx/sphinx
88
nox
9+
nox_tasks
910
pre_commit_hooks
1011

doc/developer_guide/modules/nox.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
nox
22
===
3+
34
The nox package contains nox related functionalities like pre defined nox tasks.
45

56
.. figure:: ../../_static/nothing-to-see-here.png
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
nox_tasks
2+
=========
3+
4+
lint:import (experimental)
5+
__________________________
6+
7+
`Import Linter <https://import-linter.readthedocs.io/en/stable/readme.html>`_
8+
allows you to define and enforce rules for the imports within and between Python packages.
9+
10+
.. important::
11+
12+
First configure the linter in file :code:`.import_linter_config`, see
13+
`import-linter top-level-configuration <https://import-linter.readthedocs.io/en/stable/usage.html#top-level-configuration>`_
14+
and `import-linter contract types <https://import-linter.readthedocs.io/en/stable/contract_types.html>`_
15+

doc/developer_guide/modules/pre_commit_hooks.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
pre_commit_hooks
22
=================
3+
34
In the pre_commit_hook package contains git commit hooks and similar functionalities.
45

56
.. figure:: ../../_static/nothing-to-see-here.png

0 commit comments

Comments
 (0)