use ruff linter and formatter
This commit is contained in:
parent
6edfd78c9f
commit
54ff9b2972
26 changed files with 99 additions and 128 deletions
|
|
@ -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"})
|
||||
|
|
|
|||
|
|
@ -27,3 +27,6 @@ filterwarnings = ["error"]
|
|||
[tool.coverage.run]
|
||||
branch = true
|
||||
source = ["js_example", "tests"]
|
||||
|
||||
[tool.ruff]
|
||||
src = ["src"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue