+++ /dev/null
-#!/usr/bin/env bash
-
-set -e
-set -x
-
-# Check README.md is up to date
-python ./scripts/docs.py verify-docs
-python ./scripts/docs.py build-all
+++ /dev/null
-#!/bin/sh -e
-
-if [ -d 'dist' ] ; then
- rm -r dist
-fi
-if [ -d 'site' ] ; then
- rm -r site
-fi
+++ /dev/null
-#!/usr/bin/env bash
-
-set -e
-
-mkdocs serve --dev-addr 0.0.0.0:8008
#!/bin/sh -e
set -x
-ruff fastapi tests docs_src scripts --fix
+ruff check fastapi tests docs_src scripts --fix
ruff format fastapi tests docs_src scripts
set -x
mypy fastapi
-ruff fastapi tests docs_src scripts
+ruff check fastapi tests docs_src scripts
ruff format fastapi tests --check
+++ /dev/null
-#!/usr/bin/env bash
-set -x
-set -e
-# Install pip
-cd /tmp
-curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
-python3.6 get-pip.py --user
-cd -
-# Install Flit to be able to install all
-python3.6 -m pip install --user flit
-# Install with Flit
-python3.6 -m flit install --user --extras doc
-# Finally, run mkdocs
-python3.6 -m mkdocs build
+++ /dev/null
-#!/usr/bin/env bash
-
-set -e
-
-flit publish