Skip to content

Commit

Permalink
chore: change to use rye
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatpandac committed May 14, 2023
1 parent d23ab96 commit 4a6de9f
Show file tree
Hide file tree
Showing 7 changed files with 102 additions and 415 deletions.
10 changes: 0 additions & 10 deletions .flake8

This file was deleted.

4 changes: 0 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,3 @@ repos:
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
15 changes: 0 additions & 15 deletions Pipfile

This file was deleted.

386 changes: 0 additions & 386 deletions Pipfile.lock

This file was deleted.

20 changes: 20 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
[project]
name = "fuck_cqooc"
version = "v0.0.4-beta"
description = "一个重庆高校在线开放课程平台刷课工具。"
authors = [
{ name = "Fatpandac", email = "i@fatpandac.com" }
]
readme = "README.md"
requires-python = ">= 3.8"
license = { text = "MIT" }
dependencies = ["hackcqooc~=0.0.8", "flet~=0.7.1", "pillow~=9.5.0"]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.rye]
managed = true
dev-dependencies = ["pre-commit~=3.3.1"]

[tool.black]
line-length = 79
include = '\.pyi?$'
Expand Down
47 changes: 47 additions & 0 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# generated by rye
# use `rye lock` or `rye sync` to update this lockfile
#
# last locked with the following flags:
# pre: false
# features: []
# all-features: false

-e file:.
anyio==3.6.2
backports-zoneinfo==0.2.1
certifi==2023.5.7
cfgv==3.3.1
charset-normalizer==3.1.0
distlib==0.3.6
filelock==3.12.0
flet==0.7.1
flet-core==0.7.1
h11==0.14.0
hackcqooc==0.0.8
httpcore==0.16.3
httpx==0.23.3
identify==2.5.24
idna==3.4
js2py==0.74
nodeenv==1.8.0
oauthlib==3.2.2
packaging==23.1
pillow==9.5.0
platformdirs==3.5.1
pre-commit==3.3.1
pyjsparser==2.7.1
pyyaml==6.0
repath==0.9.0
requests==2.30.0
rfc3986==1.5.0
six==1.16.0
sniffio==1.3.0
tzlocal==5.0
urllib3==2.0.2
virtualenv==20.23.0
watchdog==2.3.1
websocket-client==1.5.1
websockets==10.4

# The following packages are considered to be unsafe in a requirements file:
setuptools==67.7.2
35 changes: 35 additions & 0 deletions requirements.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# generated by rye
# use `rye lock` or `rye sync` to update this lockfile
#
# last locked with the following flags:
# pre: false
# features: []
# all-features: false

-e file:.
anyio==3.6.2
backports-zoneinfo==0.2.1
certifi==2023.5.7
charset-normalizer==3.1.0
flet==0.7.1
flet-core==0.7.1
h11==0.14.0
hackcqooc==0.0.8
httpcore==0.16.3
httpx==0.23.3
idna==3.4
js2py==0.74
oauthlib==3.2.2
packaging==23.1
pillow==9.5.0
pyjsparser==2.7.1
repath==0.9.0
requests==2.30.0
rfc3986==1.5.0
six==1.16.0
sniffio==1.3.0
tzlocal==5.0
urllib3==2.0.2
watchdog==2.3.1
websocket-client==1.5.1
websockets==10.4

0 comments on commit 4a6de9f

Please sign in to comment.