From 7a1d3f783f15795dff85652621d0e98f4797b821 Mon Sep 17 00:00:00 2001 From: Eli <43382407+eli64s@users.noreply.github.com> Date: Wed, 28 Jun 2023 09:53:12 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=A7=20Update=20bash=20shebang=20using?= =?UTF-8?q?=20env=20utility.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 5 ++--- scripts/clean.sh | 2 +- scripts/run.sh | 2 +- scripts/run_batch.sh | 2 +- scripts/test.sh | 6 +++--- setup.py | 2 +- setup/setup.sh | 2 +- 7 files changed, 10 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9409341f..297d56fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,8 +5,8 @@ description = "🚀 Generate awesome README files from the terminal, powered by authors = ["Eli <43382407+eli64s@users.noreply.github.com>"] license = "MIT" readme = "README.md" -homepage = "https://github.com/eli64s/README-AI" -documentation = "https://github.com/eli64s/README-AI/blob/main/README.md" +homepage = "https://github.com/eli64s/readme-ai" +documentation = "https://github.com/eli64s/readme-ai/blob/main/README.md" keywords = [ "markdown", "readme", @@ -31,7 +31,6 @@ keywords = [ [tool.poetry.dependencies] python = "^3.8" -pandas = "^1.4.0" black = "21.9b0" click = "8.0.1" colorlog = "^6.7.0" diff --git a/scripts/clean.sh b/scripts/clean.sh index f8a990d5..817350fc 100644 --- a/scripts/clean.sh +++ b/scripts/clean.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Remove backup files and Python cache files find . -type f \( -name "*.py-e" \ diff --git a/scripts/run.sh b/scripts/run.sh index 29c58e0e..15ce9433 100644 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -eo pipefail diff --git a/scripts/run_batch.sh b/scripts/run_batch.sh index 78e30bcf..a9e79da5 100644 --- a/scripts/run_batch.sh +++ b/scripts/run_batch.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Example repository URLs repositories=( diff --git a/scripts/test.sh b/scripts/test.sh index 4114da1b..7c8e0037 100644 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,7 +1,7 @@ -#!/bin/bash +#!/usr/bin/env bash eval "$(conda shell.bash hook)" -conda activate readme_ai +conda activate readmeai # Set the directories to include in the coverage report source_dir="src" @@ -20,4 +20,4 @@ coverage report --show-missing --fail-under=90 find . -type d -name "__pycache__" -exec rm -r {} + rm -rf .pytest_cache rm -rf .coverage -rm -rf tests/*local_dir* \ No newline at end of file +rm -rf tests/*local_dir* diff --git a/setup.py b/setup.py index 20af8a31..67740ecd 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setup( name="readme-ai", version="0.0.1", - description="""🚀 Generate awesome README markdown files from the terminal, powered by OpenAI's GPT language model APIs 💫""", + description="""🚀 Generate awesome README.md documents from the terminal, powered by OpenAI's GPT language model APIs 💫""", author="eli64s", author_email="zeroxeli@gmail.com", url="https://github.com/eli64s/readme-ai", diff --git a/setup/setup.sh b/setup/setup.sh index efdf1c36..7b16fce1 100644 --- a/setup/setup.sh +++ b/setup/setup.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Function to check if a conda environment exists function conda_env_exists() {