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
f365a4d026a835116fecd43b37e67f2cd6ad796f
full-stack-fastapi-template/{{cookiecutter.project_slug}}/backend/app/scripts/lint.sh

9 lines
295 B
Bash
Raw Normal View History

:tada: First commit, from couchbase generator, basic changes not tested / updated yet
2019-02-09 19:42:36 +04:00
#!/usr/bin/env bash
set -x
autoflake --remove-all-unused-imports --recursive --remove-unused-variables --in-place app --exclude=__init__.py
isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width 88 --recursive --apply app
black app
:sparkles: Add Items (crud, models, endpoints), utils, refactor (#14) * Update CRUD utils to use types better. * Simplify Pydantic model names, from `UserInCreate` to `UserCreate`, etc. * Upgrade packages. * Add new generic "Items" models, crud utils, endpoints, and tests. To facilitate re-using them to create new functionality. As they are simple and generic (not like Users), it's easier to copy-paste and adapt them to each use case. * Update endpoints/*path operations* to simplify code and use new utilities, prefix and tags in `include_router`. * Update testing utils. * Update linting rules, relax vulture to reduce false positives. * Update migrations to include new Items. * Update project README.md with tips about how to start with backend.
2019-04-19 09:45:23 +04:00
vulture app --min-confidence 70
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 21ms 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