diff --git a/.github/workflows/black.yml b/.github/workflows/black-ruff.yml
similarity index 57%
rename from .github/workflows/black.yml
rename to .github/workflows/black-ruff.yml
index fe99e3c..9a04743 100644
--- a/.github/workflows/black.yml
+++ b/.github/workflows/black-ruff.yml
@@ -1,4 +1,4 @@
-name: Black Format Checker
+name: Black + Ruff Format Checker
on: [push, pull_request]
jobs:
black-format-check:
@@ -9,3 +9,8 @@ jobs:
with:
options: "--diff --check"
src: "."
+ ruff-format-check:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: chartboost/ruff-action@v1
diff --git a/README.rst b/README.rst
index 9890a18..cc3efd6 100644
--- a/README.rst
+++ b/README.rst
@@ -17,7 +17,7 @@ onnx-array-api: (Numpy) Array API for ONNX
.. image:: https://img.shields.io/badge/license-MIT-blue.svg
:alt: MIT License
- :target: http://opensource.org/licenses/MIT
+ :target: https://opensource.org/license/MIT/
.. image:: https://img.shields.io/github/repo-size/sdpython/onnx-array-api
:target: https://github.com/sdpython/onnx-array-api/
@@ -115,4 +115,4 @@ The library is released on
`pypi/onnx-array-api `_
and its documentation is published at
`(Numpy) Array API for ONNX
-`_.
+`_.
diff --git a/_doc/index.rst b/_doc/index.rst
index c782c8c..da5eb60 100644
--- a/_doc/index.rst
+++ b/_doc/index.rst
@@ -14,7 +14,7 @@ onnx-array-api: (Numpy) Array API for ONNX
.. image:: https://img.shields.io/badge/license-MIT-blue.svg
:alt: MIT License
- :target: http://opensource.org/licenses/MIT
+ :target: https://opensource.org/license/MIT/
.. image:: https://img.shields.io/github/repo-size/sdpython/onnx-array-api
:target: https://github.com/sdpython/onnx-array-api/
@@ -38,11 +38,11 @@ well as to execute it.
api/index
tech/index
auto_examples/index
- ../CHANGELOGS
+ CHANGELOGS
+ license
Sources available on
-`github/onnx-array-api `_,
-see also `code coverage <_static/cov_html/index.html>`_.
+`github/onnx-array-api `_.
.. runpython::
:showcode:
diff --git a/_doc/license.rst b/_doc/license.rst
new file mode 100644
index 0000000..97329d1
--- /dev/null
+++ b/_doc/license.rst
@@ -0,0 +1,5 @@
+License
+=======
+
+.. literalinclude:: LICENSE.txt
+ :language: none