forked from cowrie/cowrie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
129 lines (105 loc) · 3.42 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
[build-system]
requires = ["setuptools >= 65.63"]
[project]
name = "cowrie"
version = "2.5.0"
description="Cowrie SSH/Telnet Honeypot."
license.text="BSD-3-Clause"
authors = [ {name = "Michel Oosterhof", email="michel@oosterhof.net"}, ]
maintainers = [ {name = "Michel Oosterhof", email="michel@oosterhof.net"}, ]
keywords=["ssh", "telnet", "honeypot"]
requires-python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*, !=3.7.*, <4"
readme="README.rst"
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: No Input/Output (Daemon)",
"Framework :: Twisted",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Operating System :: POSIX",
"Programming Language :: Python",
"Topic :: Security"
]
dependencies = [
"twisted==22.10.0",
"cryptography>=0.9.1",
"configparser",
"pyopenssl",
"pyparsing",
"incremental",
"packaging",
"appdirs>=1.4.0",
"python-dateutil",
"service_identity>=14.0.0",
]
[project.urls]
homepage = "https://www.cowrie.org/"
repository = "https://github.com/cowrie/cowrie"
[project.scripts]
fsctl = "bin/fsctl"
asciinema = "bin/asciinema:main"
cowrie = "bin/cowrie:main"
creatfs = "bin/createfs:main"
playlog = "bin/playlog:main"
[project.optional-dependencies]
csirtg = ["csirtgsdk==1.1.5"]
dshield = ["requests"]
elasticsearch = ["pyes"]
mysql = ["mysqlclient"]
mongodb = ["pymongo"]
rethinkdblog = ["rethinkdb"]
s3 = ["botocore"]
slack = ["slackclient"]
influxdb = ["influxdb"]
[tool.isort]
profile = "black"
known_zope = "zope"
known_twisted = "twisted"
known_first_party = ["cowrie","backend_pool"]
sections=["FUTURE","STDLIB","THIRDPARTY","ZOPE","TWISTED","FIRSTPARTY","LOCALFOLDER"]
[tool.mypy]
namespace_packages = true
plugins = [ "mypy_zope:plugin" ]
ignore_missing_imports = true
warn_unused_configs = true
no_implicit_optional = true
show_column_numbers = true
show_error_codes = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
disallow_incomplete_defs = true
disallow_any_unimported = true
strict_equality = true
disallow_untyped_decorators = true
disallow_subclassing_any = true
warn_unused_ignores = true
# Getting these passing should be easy
strict_concatenate = true
# These are too strict for us at the moment
check_untyped_defs = false
disallow_untyped_defs = false
disallow_any_decorated = false
disallow_any_explicit = false
disallow_any_expr = false
disallow_any_generics = false
disallow_untyped_calls = false
[tool.pylint."MESSAGES CONTROL"]
disable = ["R0901", "R0902", "R0903", "R0904", "R0912", "R0913", "R0914", "R0915", "C0103", "C0114", "C0115", "C0116", "C0301"]
[tool.pyright]
[tool.ruff]
line-length = 88
# Enable Pyflakes `E` and `F` codes by default.
select = ["E", "F", "UP", "YTT", "B", "T20", "Q", "PLR", "RUF"]
ignore = ["E501", "UP007", "B019", "RUF001"]
# Assume Python 3.10.
target-version = "py310"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]