mirror of
https://github.com/iluvcapra/ptulsconv.git
synced 2026-02-14 22:55:37 +00:00
Switching to ruff linter (#17)
* Migrating to uv build and manager * Updated Flake8 settings * Updating github workflow * Update python-package.yml Removed redundant flake8 run * Twiddle * Version number in banner * Changing to ruff linter * Tweaking workflow * Update python-package.yml * Update __init__.py * Update __init__.py * removing flake8 file * Doc notes * Twiddling with RtD --------- Co-authored-by: Jamie Hardt <jamie@squad51.us>
This commit is contained in:
@@ -10,10 +10,15 @@ build:
|
||||
os: ubuntu-20.04
|
||||
tools:
|
||||
python: "3.10"
|
||||
# You can also specify other tool versions:
|
||||
# nodejs: "16"
|
||||
# rust: "1.55"
|
||||
# golang: "1.17"
|
||||
jobs:
|
||||
pre_install:
|
||||
- pip install --upgrade --upgrade-strategy only-if-needed --group doc .
|
||||
build:
|
||||
html:
|
||||
python -m sphinx -T -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html
|
||||
post_build:
|
||||
- echo "Command run at 'post_build' step"
|
||||
- echo `date`
|
||||
|
||||
# Build documentation in the docs/ directory with Sphinx
|
||||
sphinx:
|
||||
@@ -23,10 +28,13 @@ sphinx:
|
||||
formats:
|
||||
- pdf
|
||||
|
||||
# FIXME: We should be installing the `doc` dependency group and not the `doc`
|
||||
# extra.
|
||||
|
||||
#Optionally declare the Python requirements required to build your docs
|
||||
python:
|
||||
install:
|
||||
- method: pip
|
||||
path: .
|
||||
extra_requirements:
|
||||
- doc
|
||||
# python:
|
||||
# install:
|
||||
# - method: pip
|
||||
# path: .
|
||||
# extra_requirements:
|
||||
# - doc
|
||||
|
||||
Reference in New Issue
Block a user