Skip to content

Commit f776259

Browse files
committed
Remove Safety
1 parent 3305894 commit f776259

File tree

5 files changed

+7
-181
lines changed

5 files changed

+7
-181
lines changed

docs/contributing/1.-contributing-guide.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ Base System Requirements:
2222
Once you have verified that your system matches the base requirements you can start to get the project working by following these steps:
2323

2424
1. [Fork the project on GitHub](https://github.com/pycqa/isort/fork).
25-
2. Clone your fork to your local file system:
25+
1. Clone your fork to your local file system:
2626
`git clone https://github.com/$GITHUB_ACCOUNT/isort.git`
27-
3. `cd isort`
28-
4. `uv sync --all-extras --frozen`
27+
1. `cd isort`
28+
1. `uv sync --all-extras --frozen`
2929
* Optionally, isolate uv's installation from the rest of your system using the instructions on the uv site here: https://docs.astral.sh/uv/
30-
5. `./scripts/test.sh` should yield Success: no issues found
31-
6. `./scripts/clean.sh` should yield a Safety report checking packages
30+
1. `./scripts/test.sh` should yield Success: no issues found
31+
1. `./scripts/clean.sh` should yield a report checking packages
3232

3333
**TIP**: `./scripts/done.sh` will run both clean and test in one step.
3434

docs/contributing/2.-coding-standard.md

-1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,3 @@ All code submitted to hug should run through the following tools:
5555
- ruff
5656
- pep8-naming
5757
- vulture
58-
- safety

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ dev = [
134134
"pytest-mock>=1.10",
135135
"requirementslib>=1.5",
136136
"ruff>=0.9.6",
137-
"safety>=2.2.0",
138137
"stdlibs>=2024.10.21.16",
139138
"toml>=0.10.2",
140139
"types-colorama>=0.4.2",

scripts/lint.sh

-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,4 @@ uv run isort --profile hug --check --diff isort/ tests/
88
uv run isort --profile hug --check --diff example_*/
99
uv run --with=Flake8-pyproject flake8 isort/ tests/
1010
uv run ruff check
11-
# 51457: https://github.com/tiangolo/typer/discussions/674
12-
# 72715: https://github.com/timothycrosley/portray/issues/95
13-
uv run safety check -i 72715 -i 51457 -i 59587
1411
uv run bandit -r isort/ -x isort/_vendored

0 commit comments

Comments
 (0)