-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
132 lines (117 loc) · 3.03 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[tool.poetry]
name = "orgpedia-mahgetGR"
version = "0.0.1"
description = "Datapackage containing orders of Maharashtra Governemnt GR from https://https://gr.maharashtra.gov.in/."
authors = ["Orgpedia Foundation <[email protected]>"]
license = "MIT"
readme = "README.md"
keywords = ["information extraction", "data package", "government data"]
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Scientific/Engineering :: Image Processing',
'Topic :: Scientific/Engineering :: Image Recognition',
]
[tool.poetry.urls]
"homepage" = "https://www.orgpedia.in/"
"repository" = "https://github.com/orgpedia/mahgetGR"
"data issues" = "https://github.com/orgpedia/mahgetGR/discussions"
[tool.poetry.dependencies]
python = ">3.8.1,<4.0.0"
# this is a datapackage should not have any dependency as we are publishing data
# dependencies for running the flow are in group.dev.dependencies
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
playwright = "^1.40.0"
more-itertools = "^10.2.0"
requests = "^2.31.0"
waybackpy = "^3.0.6"
internetarchive = "^3.6.0"
traverser = {git = "https://github.com/orgpedia/traverser"}
ruff = "^0.1.13"
pyyaml = "^6.0.1"
beautifulsoup4 = "^4.12.3"
unidecode = "^1.3.8"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
skip-string-normalization = true
target-version = ['py38', 'py39', 'py310', 'py311']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.yml
| \.json
| \.txt
| \.bak
| makefile
| _build
| buck-out
| build
| dist
| input
| output
| logs
| conf
| models
| export
| documents
)/
'''
[tool.ruff]
# Enable Pyflakes `E` and `F` codes by default.
select = ["E", "F", "W", "I001"]
ignore = []
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["I001"] # fix only isort issues
unfixable = []
# Exclude a variety of commonly ignored directories.
exclude = [
".git",
".mypy_cache",
".nox",
".ruff_cache",
".tox",
"__pypackages__",
"dist",
"node_modules",
"venv",
".bak",
"input",
"output",
"logs",
"conf",
"export",
"models",
"documents",
"data_packages",
"websites",
"page_images",
"html",
]
per-file-ignores = {}
# Same as Black.
line-length = 100
# Allow unused variables when underscore-prefixed.
#dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
# Assume Python 3.7
target-version = "py38"