From 6c9fa1ab84737a5131e36723ee3d873b8df12c62 Mon Sep 17 00:00:00 2001 From: Brian Blaylock Date: Sat, 23 Dec 2023 22:45:18 -0800 Subject: [PATCH] update --- .vscode/extensions.json | 3 ++- .vscode/settings.json | 47 ++++++++++++----------------------------- README.md | 2 +- 3 files changed, 17 insertions(+), 35 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 2867bb8..819bf2c 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,6 +1,7 @@ { "recommendations": [ "ms-python.python", - "bungcip.better-toml" + "bungcip.better-toml", + "charliermarsh.ruff" ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index e73c098..d41548a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,47 +1,28 @@ { + "[python]": { + "editor.defaultFormatter": "charliermarsh.ruff" + }, + "files.exclude": { + "*.pytest_cache": true, + "*egg-info": true + }, + "python.testing.pytestArgs": [ + "tests" + ], + "python.testing.pytestEnabled": true, + "python.testing.unittestEnabled": false, "workbench.colorCustomizations": { + "activityBar.activeBackground": "#ffffff18", // Colors based on GOES-R Logo: // https://www.goes-r.gov/multimedia/logos.html "activityBar.activeBorder": "#F8AF22", - "activityBar.foreground": "#F8AF22", "activityBar.background": "#323334", + "activityBar.foreground": "#F8AF22", "activityBar.inactiveForeground": "#259DD7", - "activityBar.activeBackground": "#ffffff18", "activityBarBadge.background": "#F8AF22", "statusBar.background": "#259DD7", "statusBarItem.remoteBackground": "#F8AF22", "statusBarItem.remoteForeground": "#323334", "titleBar.activeBackground": "#259DD7" - }, - "python.formatting.provider": "black", - "actionButtons": { - "reloadButton": null, - "commands": [ - { - "name": "🌐Remake Docs", - "singleInstance": true, - "command": "conda activate basic38; cd docs; ./remake_docs.sh" - }, - { - "name": "🚀JupyterLab", - "color": "#f0ead2", - "command": "conda activate goes2go && jupyter lab --no-browser --port=7793" - }, - { - "name": "🥇Update", - "color": "#f0ead2", - "command": "conda env update -f environment.yml --prune" - } - ] - }, - "python.testing.pytestArgs": [ - "tests" - ], - "python.testing.unittestEnabled": false, - "python.testing.pytestEnabled": true, - "esbonio.server.enabled": true, - "files.exclude": { - "*.pytest_cache": true, - "*egg-info": true, } } diff --git a/README.md b/README.md index 3fb5fc7..327d861 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ ![](https://img.shields.io/github/license/blaylockbk/goes2go) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) -[![Tests (Python)](https://github.com/blaylockbk/goes2go/actions/workflows/tests-python.yml/badge.svg)](https://github.com/blaylockbk/goes2g0/actions/workflows/tests-python.yml) +[![Tests (Python)](https://github.com/blaylockbk/goes2go/actions/workflows/tests-python.yml/badge.svg)](https://github.com/blaylockbk/goes2go/actions/workflows/tests-python.yml) [![Documentation Status](https://readthedocs.org/projects/goes2go/badge/?version=latest)](https://goes2go.readthedocs.io/?badge=latest) [![Python](https://img.shields.io/pypi/pyversions/goes2go.svg)](https://pypi.org/project/goes2go/) [![Conda Recipe](https://img.shields.io/badge/recipe-goes2go-green.svg)](https://anaconda.org/conda-forge/goes2go)