From 2d6acc3e2257ed4490cf3c5b63850b2fef809433 Mon Sep 17 00:00:00 2001 From: TimJentzsch Date: Thu, 26 Jan 2023 21:38:04 +0100 Subject: [PATCH] Add Garnet rank color (#198) * Add Garnet rank color * Remove --diff flag from flake call in CI This flag has been deprecated. --- .github/workflows/static_analysis.yml | 3 +-- buttercup/cogs/__init__.py | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index f9e269b..40c4045 100755 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -19,5 +19,4 @@ jobs: pip install --upgrade pip pip install flake8 pyflakes pycodestyle - name: Run Static Analysis - run: | - /usr/bin/git diff -u ${{ github.event.pull_request.base.sha }} | flake8 --diff + run: flake8 diff --git a/buttercup/cogs/__init__.py b/buttercup/cogs/__init__.py index 2c76066..f488bcd 100755 --- a/buttercup/cogs/__init__.py +++ b/buttercup/cogs/__init__.py @@ -34,4 +34,5 @@ {"name": "Topaz", "threshold": 5000, "color": "#ff7d4d"}, {"name": "Jade", "threshold": 10000, "color": "#31c831"}, {"name": "Sapphire", "threshold": 20000, "color": "#99afef"}, + {"name": "Garnet", "threshold": 30000, "color": "#ff8f8f"}, ]