use ruff linter and formatter

This commit is contained in:
David Lord 2023-11-09 09:20:27 -08:00
parent 14232513fd
commit 54e05a2824
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
26 changed files with 99 additions and 132 deletions

View file

@ -2,7 +2,7 @@ from flask import jsonify
from flask import render_template
from flask import request
from js_example import app
from . import app
@app.route("/", defaults={"js": "fetch"})

View file

@ -27,3 +27,6 @@ filterwarnings = ["error"]
[tool.coverage.run]
branch = true
source = ["js_example", "tests"]
[tool.ruff]
src = ["src"]