Skip to content

Commit

Permalink
Merge pull request #1979 from backend-developers-ltd/post_ruff
Browse files Browse the repository at this point in the history
post-black to ruff migration cleanup
  • Loading branch information
gus-opentensor committed Jun 5, 2024
2 parents 6899884 + 9ebdc0b commit b86300b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions scripts/check_pre_submit.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

# black checks formating
echo ">>> Run the pre-submit format check with \`black .\`."
python3 -m black --exclude '(env|venv|.eggs|.git)' .
# ruff checks formating
echo ">>> Run the pre-submit format check with \`ruff format .\`."
ruff format .

echo ">>> Run the pre-submit format check with \`mypy\`."

Expand Down
1 change: 0 additions & 1 deletion scripts/environments/apple_m1_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ dependencies:
- backcall=0.2.0=pyh9f0ad1d_0
- backports=1.0=pyhd8ed1ab_3
- backports.functools_lru_cache=1.6.4=pyhd8ed1ab_0
- black=23.7.0=py310hbe9552e_1
- beautifulsoup4=4.12.2=pyha770c72_0
- bleach=6.0.0=pyhd8ed1ab_0
- brotli=1.0.9=h1a8c8d9_8
Expand Down

0 comments on commit b86300b

Please sign in to comment.