Skip to content

Commit

Permalink
Remove requirements/codemodder.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
drdavella committed Aug 31, 2023
1 parent cea4d16 commit 9e116e1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 20 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.11
COPY requirements/codemodder.txt .
RUN pip install -r codemodder.txt
WORKDIR /codemodder
COPY . .

RUN pip install .
CMD python -m codemodder --help
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ future.
⚠️ The custom codemod API is under heavy development and is subject to change.
The API should not be treated as stable at this time. ⚠️

## Installation

To install the package from source, use `pip`:

```
pip install .
```

## Running Locally

You can run the codemodder program with
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dependencies = [
"semgrep~=1.36.0",
"PyYAML~=6.0.0",
"libcst~=1.0.0",
"isort~=5.12.0",
"dependency-manager @ git+https://github.com/pixee/python-dependency-manager#egg=dependency-manager",
]

Expand Down
16 changes: 0 additions & 16 deletions requirements/codemodder.txt

This file was deleted.

1 change: 0 additions & 1 deletion requirements/lint.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
black==23.7.*
mypy==1.5.*
pylint==2.17.*
-r codemodder.txt
-r test.txt
1 change: 0 additions & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ pre-commit<4
pytest==7.4.*
pytest-cov~=4.1.0
types-mock==5.1.*
-r codemodder.txt

0 comments on commit 9e116e1

Please sign in to comment.