From 35a88c02353544b05267ae3d0992fad1e187c5e5 Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Tue, 26 Nov 2019 21:16:08 -0800 Subject: [PATCH] Cleanup (#194) * Add basic README description for dashboard * Use spaces for all except makefile * enable tests for py 3.5 * Python 3.5 support label * Avoid clash of names --- .editorconfig | 4 ++-- .github/workflows/test-dashboard.yml | 2 +- .github/workflows/test-docker.yml | 2 +- .github/workflows/test-library.yml | 4 ++-- README.md | 1 + dashboard/MANIFEST.in | 3 --- dashboard/README.md | 10 ++++++++++ 7 files changed, 17 insertions(+), 9 deletions(-) delete mode 100644 dashboard/MANIFEST.in diff --git a/.editorconfig b/.editorconfig index 8d615116..df9ca497 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,17 +2,17 @@ root = true [*] charset = utf-8 +indent_style = space end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true [Makefile] +indent_style = tab indent_size = 8 [*.py] -indent_style = space indent_size = 4 [*.ts] -indent_style = space indent_size = 2 diff --git a/.github/workflows/test-dashboard.yml b/.github/workflows/test-dashboard.yml index 8489ce1c..c18dbee8 100644 --- a/.github/workflows/test-dashboard.yml +++ b/.github/workflows/test-dashboard.yml @@ -5,7 +5,7 @@ on: [push] jobs: build: runs-on: ${{ matrix.os }}-latest - name: Node ${{ matrix.node }} on ${{ matrix.os }} + name: Dashboard - Node ${{ matrix.node }} on ${{ matrix.os }} strategy: matrix: os: [macOS, ubuntu, windows] diff --git a/.github/workflows/test-docker.yml b/.github/workflows/test-docker.yml index 24e8403a..c20097de 100644 --- a/.github/workflows/test-docker.yml +++ b/.github/workflows/test-docker.yml @@ -5,7 +5,7 @@ on: [push] jobs: build: runs-on: ${{ matrix.os }}-latest - name: Python ${{ matrix.python }} on ${{ matrix.os }} + name: Docker - Python ${{ matrix.python }} on ${{ matrix.os }} strategy: matrix: os: [ubuntu] diff --git a/.github/workflows/test-library.yml b/.github/workflows/test-library.yml index 459aebbc..ec5b2d99 100644 --- a/.github/workflows/test-library.yml +++ b/.github/workflows/test-library.yml @@ -5,11 +5,11 @@ on: [push] jobs: build: runs-on: ${{ matrix.os }}-latest - name: Python ${{ matrix.python }} on ${{ matrix.os }} + name: Library - Python ${{ matrix.python }} on ${{ matrix.os }} strategy: matrix: os: [macOS, ubuntu, windows] - python: [3.6, 3.7] + python: [3.5, 3.6, 3.7] max-parallel: 4 fail-fast: false steps: diff --git a/README.md b/README.md index 58d1c7d0..fe557842 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ [![Contributions Welcome](https://img.shields.io/static/v1?label=contributions&message=welcome%20%F0%9F%91%8D&color=green)](https://github.com/abhinavsingh/proxy.py/issues) [![Gitter](https://badges.gitter.im/proxy-py/community.svg)](https://gitter.im/proxy-py/community) +[![Python 3.5](https://img.shields.io/badge/python-3.5-blue.svg)](https://www.python.org/downloads/release/python-350/) [![Python 3.6](https://img.shields.io/badge/python-3.6-blue.svg)](https://www.python.org/downloads/release/python-360/) [![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/) [![Checked with mypy](https://img.shields.io/static/v1?label=mypy&message=checked&color=blue)](http://mypy-lang.org/) diff --git a/dashboard/MANIFEST.in b/dashboard/MANIFEST.in deleted file mode 100644 index 4ae453e2..00000000 --- a/dashboard/MANIFEST.in +++ /dev/null @@ -1,3 +0,0 @@ -include src/proxy.html -include src/proxy.css -include tsbuild/src/proxy.js diff --git a/dashboard/README.md b/dashboard/README.md index 2ad45876..551a8b73 100644 --- a/dashboard/README.md +++ b/dashboard/README.md @@ -1 +1,11 @@ # Proxy.py Dashboard + +`Proxy.py dashboard` is a standalone frontend application written in Typescript. + +## Features + +- Standalone frontend framework +- Single page application +- Websocket based API +- Extendable using frontend plugins +- Realtime