-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
73 lines (63 loc) · 1.97 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[tool.poetry]
name = "fs.googledrivefs"
packages = [
{ include = "fs"}
]
version = "2.4.3"
description = "Pyfilesystem2 implementation for Google Drive"
authors = ["Rehan Khwaja <rehan@khwaja.name>"]
license = "MIT"
homepage = "https://github.com/rkhwaja/fs.googledrivefs"
keywords = ["filesystem", "Pyfilesystem2", "google"]
readme = "README.md"
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
[tool.poetry.dependencies]
python = ">=3.8"
fs = ">=2.4.13"
google-api-python-client = ">=1.7.10"
google-auth = ">=1.5.1"
[tool.poetry.dev-dependencies]
pytest = ">=7.2.0"
pytest-timeout = ">=1.3.3"
requests-oauthlib = ">=1.0"
pyperclip = ">=1.7"
pytest-cov = ">=2.10.1"
poethepoet = ">=0.16.4"
pyngrok = ">=7"
pytest-localserver = ">=0.5.0"
pytest-xdist = ">=3.2.1"
ruff = ">=0.4.4"
pytest-rerunfailures = ">=14.0"
[tool.poe.tasks]
lint = "ruff check fs/googledrivefs/ tests/"
[tool.poe.tasks.test]
shell = """
pytest -n 4 --reruns 2 --only-rerun TimeoutError --cov=fs/googledrivefs --timeout=2700 || exit 1
coverage xml
"""
[tool.poetry.plugins] # Optional super table
[tool.poetry.plugins."fs.opener"]
"googledrive" = "fs.googledrivefs.opener:GoogleDriveFSOpener"
[tool.ruff]
line-length = 200
lint.ignore = ["ANN", "D", "DTZ", "EM102", "ERA001", "FBT002", "FIX", "G004", "I", "N", "PT009", "PT027", "PT013", "PTH", "S101", "TCH003", "TD", "TRY003", "W191"]
lint.select = ["ALL"]
target-version = "py38"
[tool.ruff.lint.extend-per-file-ignores]
"__init__.py" = ["F401"]
"tests/*" = ["ANN201", "D103", "INP001", "PT006"]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"
multiline-quotes = "single"
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"