Remove main.py, add pre-commit configuration, update .vscode settings, and modify README
This commit is contained in:
parent
e688bb6378
commit
dabb0d34bf
5 changed files with 57 additions and 9 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -161,4 +161,3 @@ cython_debug/
|
|||
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
||||
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||
#.idea/
|
||||
|
||||
|
|
|
|||
45
.pre-commit-config.yaml
Normal file
45
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
repos:
|
||||
- repo: https://github.com/asottile/add-trailing-comma
|
||||
rev: v4.0.0
|
||||
hooks:
|
||||
- id: add-trailing-comma
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v6.0.0
|
||||
hooks:
|
||||
- id: check-ast
|
||||
- id: check-builtin-literals
|
||||
- id: check-docstring-first
|
||||
- id: check-executables-have-shebangs
|
||||
- id: check-merge-conflict
|
||||
- id: check-toml
|
||||
- id: check-vcs-permalinks
|
||||
- id: end-of-file-fixer
|
||||
- id: mixed-line-ending
|
||||
- id: name-tests-test
|
||||
args: [--pytest-test-first]
|
||||
- id: trailing-whitespace
|
||||
|
||||
- repo: https://github.com/adamchainz/django-upgrade
|
||||
rev: 1.30.0
|
||||
hooks:
|
||||
- id: django-upgrade
|
||||
args: [--target-version, "6.0"]
|
||||
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.15.10
|
||||
hooks:
|
||||
- id: ruff-check
|
||||
args: ["--fix", "--exit-non-zero-on-fix"]
|
||||
- id: ruff-format
|
||||
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.21.2
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: ["--py313-plus"]
|
||||
|
||||
- repo: https://github.com/rhysd/actionlint
|
||||
rev: v1.7.12
|
||||
hooks:
|
||||
- id: actionlint
|
||||
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
|
|
@ -2,6 +2,8 @@
|
|||
"cSpell.words": [
|
||||
"Hellsén",
|
||||
"Joakim",
|
||||
"pytest",
|
||||
"pyupgrade",
|
||||
"Tussilago"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
10
README.md
10
README.md
|
|
@ -1,3 +1,11 @@
|
|||
# Tussilago
|
||||
|
||||
A platform to run and host Python applications
|
||||
A platform to run and host containerized applications, with a focus on Django apps. It provides an easy-to-use web interface for managing applications, as well as a powerful API for automation and integration.
|
||||
|
||||
Email: tlovinator@gmail.com
|
||||
|
||||
Discord: TheLovinator#9276
|
||||
|
||||
# License
|
||||
|
||||
The AGPL license applies to the infrastructure platform (the SaaS backend, the deployment scripts, the web UI). It does not infect the user's code. If a tenant hosts a proprietary, closed-source Django app on this platform, their code remains completely theirs.
|
||||
|
|
|
|||
6
main.py
6
main.py
|
|
@ -1,6 +0,0 @@
|
|||
def main() -> None:
|
||||
print("Hello from tussilago!")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue