Skip to content

Commit b64cf23

Browse files
authored
Add requirements.txt back (GH lost used-by tracking without it) (#64)
1 parent 059f7f7 commit b64cf23

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ repos:
4545
language: system
4646
files: pyproject.toml
4747
pass_filenames: false
48-
# - id: poetry2requirements
49-
# name: Convert pyproject.toml to requirements.txt
50-
# entry: poetry export -f requirements.txt --without-hashes -o requirements.txt
51-
# language: system
52-
# files: pyproject.toml
53-
# pass_filenames: false
48+
- id: poetry2requirements
49+
name: Convert pyproject.toml to requirements.txt
50+
entry: poetry export -f requirements.txt --without-hashes -o requirements.txt
51+
language: system
52+
files: pyproject.toml
53+
pass_filenames: false
5454
- id: mypycheck
5555
name: Type checking by mypy
5656
entry: mypy

.pylintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ disable=print-statement,
161161
fixme,
162162
consider-using-dict-items,
163163
unexpected-keyword-arg,
164+
consider-using-with,
164165
C0330
165166

166167
# Enable the message, report, category or checker with the given id(s). You can

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
asttokens==2.0.5
2+
executing==0.8.0
3+
pure-eval==0.2.1
4+
six==1.16.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0"

0 commit comments

Comments
 (0)