Skip to content

Commit

Permalink
🐧 Update bash shebang using env utility.
Browse files Browse the repository at this point in the history
  • Loading branch information
eli64s committed Jun 28, 2023
1 parent 04a3ef6 commit 7a1d3f7
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 11 deletions.
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ description = "πŸš€ Generate awesome README files from the terminal, powered by
authors = ["Eli <[email protected]>"]
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",
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion scripts/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Remove backup files and Python cache files
find . -type f \( -name "*.py-e" \
Expand Down
2 changes: 1 addition & 1 deletion scripts/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -eo pipefail

Expand Down
2 changes: 1 addition & 1 deletion scripts/run_batch.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Example repository URLs
repositories=(
Expand Down
6 changes: 3 additions & 3 deletions scripts/test.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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*
rm -rf tests/*local_dir*
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]",
url="https://github.com/eli64s/readme-ai",
Expand Down
2 changes: 1 addition & 1 deletion setup/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Function to check if a conda environment exists
function conda_env_exists() {
Expand Down

0 comments on commit 7a1d3f7

Please sign in to comment.