Logo
Explore Help
Register Sign In
nt_web_template/full-stack-fastapi-template
2
0
Fork 0
You've already forked full-stack-fastapi-template
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
7e59206936fe53ccb7ecc7d01862eccc91eac401
full-stack-fastapi-template/backend/scripts/format.sh

7 lines
174 B
Bash
Raw Normal View History

:recycle: Refactor backend, settings, DB sessions, types, configs, plugins (#158) * :recycle: Refactor backend, update DB session handling * :sparkles: Add mypy config and plugins * :heavy_plus_sign: Use Python-jose instead of PyJWT as it has some extra functionalities and features * :sparkles: Add/update scripts for test, lint, format * :wrench: Update lint and format configs * :art: Update import format, comments, and types * :art: Add types to config * :sparkles: Add types for all the code, and small fixes * :art: Use global imports to simplify exploring with Jupyter * :recycle: Import schemas and models, instead of each class * :truck: Rename db_session to db for simplicity * :pushpin: Update dependencies installation for testing
2020-04-20 19:03:13 +02:00
#!/bin/sh -e
set -x
autoflake --remove-all-unused-imports --recursive --remove-unused-variables --in-place app --exclude=__init__.py
black app
isort --recursive --apply app
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 24ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API