forked from mar10/pyftpsync
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
157 lines (132 loc) · 3.91 KB
/
setup.cfg
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
[bdist_wheel]
# set universal = 1 if Python 2 and 3 are supported
[metadata]
# name = pyftpsync # GitHub dependants needs it in setup.py?
version = attr: ftpsync.__version__
author = Martin Wendt
author_email = [email protected]
maintainer = Martin Wendt
maintainer_email = [email protected]
url = https://github.com/mar10/pyftpsync
project_urls =
Bug Tracker = https://github.com/mar10/pyftpsync/issues
Source Code = https://github.com/mar10/pyftpsync
Documentation = https://pyftpsync.readthedocs.io
Download = https://github.com/mar10/pyftpsync/releases/latest
# Discussions = https://github.com/mar10/pyftpsync/discussions
description = Synchronize directories using FTP(S), SFTP, or file system access
long_description = file: README.md
long_description_content_type = text/markdown
keywords = python, ftp, ftps, sftp, synchronize, tls, tool
license = MIT
license_files = LICENSE.txt
classifiers =
# Development Status :: 3 - Alpha
Development Status :: 4 - Beta
# Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: Developers
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Internet :: File Transfer Protocol (FTP)
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Utilities
[options]
package_dir =
= .
packages = find:
zip_safe = False
# scripts =
# bin/first.py
# bin/second.py
install_requires =
colorama
keyring
pysftp
PyYAML
# [options.package_data]
# * = *.txt, *.rst
# hello = *.msg
# [options.extras_require]
# pdf = ReportLab>=1.2; RXP
# rest = docutils>=0.3; pack ==1.1, ==1.3
[options.packages.find]
where = .
include_package_data = True
exclude =
tests
# [options.data_files]
# /etc/my_package =
# site.d/00_default.conf
# host.d/00_default.conf
# data = data/img/logo.png, data/svg/icon.svg
[options.entry_points]
console_scripts =
pyftpsync = ftpsync.pyftpsync:run
# --- Coverage Settings --------------------------------------------------------
[coverage:run]
branch = True
omit =
tests/*
[coverage:report]
precision = 2
; show_missing = True
sort = Name
exclude_lines =
pragma: no cover
if __name__ == .__main__.:
[coverage:html]
directory = build/coverage
# --- Alternative to pytest.ini ------------------------------------------------
[tool:pytest]
# Silence `PytestDeprecationWarning`
junit_family = legacy
; testpaths =
; tests
; src
# --- Flake8 Settings ----------------------------------------------------------
[flake8]
# G: enable 'flake8-logging-format'
enable-extensions = G
exclude =
__pycache__,
.cache,
.eggs,
.git,
.tox,
.vscode,
build,
dist,
docs
max-line-length = 99
# max-line-length = 88
# 'mccabe' plugin:
# max-complexity = 12
# max-annotations-complexity = 10
# max-expression-complexity = 10
# Ignore some errors that may be created by Black:
# - E203 whitespace before ':'
# - E501 line too long
# - W503 line break before binary operator
# - P101 format string does contain unindexed parameters
# - A003 class attribute "open" is shadowing a python builtin
# - N806 variable 'VAR_NAME' in function should be lowercase
ignore = E203, E501, W503, P101, A003, N806
# Instead of strict E501, enable B950 for relaxed line length checking (and other bugbear warnings)
# select = B,C,D,E,F,I,N,P,PT,Q,S,T,W,B9
#
docstring-convention = all # google?
# Options for the flake8-quotes extension:
inline-quotes = double
multiline-quotes = """
docstring-quotes = """
avoid-escape = True