Repo reset for less crap

This commit is contained in:
Luke Murphy 2020-07-01 19:56:35 +02:00
parent b585217242
commit 0626962785
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
9 changed files with 7 additions and 76 deletions

View File

@ -1,18 +0,0 @@
---
matrix:
include:
- IMAGE: 3.8-buster
TOXENV: py38
- IMAGE: 3.8-buster
TOXENV: lint
- IMAGE: 3.8-buster
TOXENV: sort
- IMAGE: 3.8-buster
TOXENV: format
pipeline:
build:
image: python:${IMAGE}
commands:
- pip install tox
- tox -e ${TOXENV}

View File

@ -1,7 +1,5 @@
# Magic App
[![Build Status](https://drone.autonomic.zone/api/badges/autonomic-cooperative/magic-app/status.svg)](https://drone.autonomic.zone/autonomic-cooperative/magic-app)
A swarm of dreams.
## Proof Of Concept
@ -20,5 +18,5 @@ A swarm of dreams.
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
$ python magic_app/app.py
$ python one.py / two.py / three.py
```

View File

@ -1,3 +0,0 @@
{
"gitea": "https://git.autonomic.zone/compose-stacks/gitea"
}

View File

@ -1,3 +1,9 @@
"""The all singing all dancing auto-generation from compose.yml attempt.
Largely unfinished, just a stab in the dark.
"""
from json import loads
from os.path import exists
from pathlib import Path

View File

@ -1,11 +0,0 @@
[build-system]
requires = [
"setuptools",
"setuptools-scm",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 80
target-version = ["py38"]

View File

@ -1,16 +0,0 @@
from setuptools import find_packages, setup
setup(
name="magic-app",
version="0.0.1a1",
url="https://git.autonomic.zone/autonomic-cooperative/magic-app",
author="Autonomic Cooperative",
author_email="helo@autonomic.zone",
description="Magic App",
packages=find_packages(),
install_requires=[
"flask>=1.1.2,<2",
"flask-wtf>=0.14.3,<0.15",
"ruamel.yaml>=0.16.10,<0.17",
],
)

25
tox.ini
View File

@ -1,25 +0,0 @@
[tox]
envlist =
py38
lint
sort
format
skip_missing_interpreters = True
isolated_build = True
[testenv]
[testenv:lint]
skipdist = True
deps = flake8
commands = flake8 {posargs} magic_app/
[testenv:sort]
skipdist = True
deps = isort
commands = isort {posargs:-rc -c} -sp setup.cfg magic_app/
[testenv:format]
skipdist = True
deps = black
commands = black {posargs:--check} magic_app/