Thomas Waldmann
96139ae3c9
adapt pep8 ignores
2022-08-13 23:03:29 +02:00
Thomas Waldmann
9367ad2f07
adapt pep8 ignores
2022-08-13 22:24:20 +02:00
Thomas Waldmann
449b02742f
make setuptools happy, fixes #6874 (try 2, same as in 1.2-maint)
...
work around setuptools puking about:
############################
# Package would be ignored #
############################
Python recognizes 'borg.cache_sync' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'borg.cache_sync' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'borg.cache_sync' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
2022-08-04 17:18:23 +02:00
Thomas Waldmann
b07aeef498
add mypy checking
...
also added some .pyi files needed to check the cython code (taken from #5703 and updated).
fixed "syntax error" in key.py.
all mypy complaints not fixed yet.
2022-07-15 12:49:38 +02:00
Thomas Waldmann
70b54a696f
move create command to archiver.create
2022-07-09 15:13:13 +02:00
Thomas Waldmann
c871dbd8a5
move recreate command to archiver.recreate
2022-07-09 15:13:13 +02:00
Thomas Waldmann
add73745c6
move rlist command to archiver.rlist
2022-07-09 15:13:13 +02:00
Thomas Waldmann
350a8fe252
move delete command to archiver.delete
2022-07-09 15:13:13 +02:00
Thomas Waldmann
a31332ddb5
move rdelete command to archiver.rdelete
2022-07-09 15:13:13 +02:00
Thomas Waldmann
9fb224db6b
move diff command to archiver.diff
2022-07-09 15:13:12 +02:00
Thomas Waldmann
ea03562b11
move prune command to archiver.prune
2022-07-09 15:13:12 +02:00
Thomas Waldmann
94e6477e51
move config command to archiver.config
2022-07-09 15:13:12 +02:00
Thomas Waldmann
6d60976c51
move help commands to archiver.help
2022-07-09 15:13:12 +02:00
Thomas Waldmann
af2ee7aeb1
move key commands to archiver.keys
2022-07-09 15:13:12 +02:00
Thomas Waldmann
5ea9fb73db
move benchmark commands to archiver.benchmarks
2022-07-09 15:13:12 +02:00
Thomas Waldmann
27b63e7c48
move tar commands to archiver.tar
2022-07-09 15:13:12 +02:00
Thomas Waldmann
890d5950e7
move debug commands to archiver.debug
2022-07-09 15:13:12 +02:00
Andrey Bienkowski
adb1c36215
black integration
2022-07-06 14:55:40 +02:00
Serghei Iakovlev
928d2925bb
Use license_files instead of license_file
...
Closes #6727
See: https://github.com/pypa/setuptools/pull/2620
2022-06-13 16:09:38 +02:00
Thomas Waldmann
c07afb26e4
add python 3.11 to pypi metadata
2022-06-03 10:05:04 +02:00
Thomas Waldmann
a970f000b0
allow msgpack 1.0.4, fixes #6716
2022-06-03 10:03:49 +02:00
Andrea Gelmini
c79fd61b5c
Fix typos ( #6688 )
...
fix typos
Co-authored-by: Thomas Waldmann <tw@waldmann-edv.de>
2022-05-15 21:23:48 +02:00
Thomas Waldmann
0c27272f97
setup.cfg: setup_requires setuptools_scm
...
readthedocs.org uses python setup.py install (not pip install).
2022-04-15 00:51:41 +02:00
Thomas Waldmann
f5f85b9e76
use borgbackup.org as main site
...
the github site is linked via project_urls -> Source Code
2022-04-13 03:48:33 +02:00
Thomas Waldmann
4b561cfb95
master branch is alpha development status (or worse)
2022-04-13 03:42:05 +02:00
Thomas Waldmann
9642ace953
require/configure setuptools_scm via pyproject.toml
2022-04-07 19:11:15 +02:00
Manu
249de7eb45
Add feedback, part 1
2022-03-23 17:19:43 +04:00
Manu
ec11905f11
Add src path to setup.cfg
2022-03-23 16:19:25 +04:00
Manu
3732c45f42
Initial commit
2022-03-23 15:42:34 +04:00
Robert Blenis
789908f13f
fix pep8 violations in errorlist.py
2021-04-18 10:06:48 -04:00
Robert Blenis
96a138b226
fix pep8 violations in conftest.py
2021-04-18 10:04:43 -04:00
Robert Blenis
d0841eb759
cleanup flake8 checks
...
- make code style exceptions tailored to specific files, so that it's less likely that new violations creep into the code.
2021-04-18 07:10:10 -04:00
Felix Schwarz
3f68f40a38
declare "allow_cache_wipe" marker in setup.cfg to avoid pytest warning
...
Undeclared markers trigger a pytest warning:
PytestUnknownMarkWarning: Unknown pytest.mark.allow_cache_wipe - is this a typo?
2020-06-01 22:47:34 +02:00
Thomas Waldmann
b0afc6709b
flake8: use separate lines for different classes of flake8 ignores
2018-10-29 12:36:07 +01:00
Thomas Waldmann
5c66a60f79
flake8: fix W605 (invalid escape sequences)
2018-10-29 12:36:07 +01:00
Thomas Waldmann
10cdadb2f8
flake8: fix F841
2018-10-29 12:36:03 +01:00
Thomas Waldmann
fc4a7bc0c9
flake8: disable the new checks of flake8 3.6 for now
2018-10-29 12:35:12 +01:00
Milkey Mouse
1e520203cb
Fix borg config flake8 failures
...
Suppressed E731 so lambdas can be assigned to vars
2017-11-23 14:54:53 -08:00
Thomas Waldmann
bb1c7a7f57
flake8: add some ignores
2017-10-29 11:39:13 +01:00
Thomas Waldmann
dedc4c0695
setup.cfg: fix pytest deprecation warning, fixes #2050
2017-01-14 23:06:16 +01:00
Thomas Waldmann
745007bd12
flake8: ignore F405, fixes #1185
...
We know that star imports have their issues and we only have one of them,
for good reasons. Thus, we switch off that new F405 test/message.
2016-06-19 14:40:11 +02:00
Thomas Waldmann
2a2362fc2f
add flake8 style checking
2016-01-30 22:01:27 +01:00
Antoine Beaupré
e1b2f0f3f0
remove silenced warnings that were not triggered anyways
...
line length comes from @tw - i would prefer 80 columns personnally, but don't want to argue over that bikeshed
the 120 limit *does* trigger warnings right now, but it's better to do that than to make the problem worse for future PRs
2015-10-20 14:43:49 -04:00
Thomas Waldmann
d4de0fd019
remove remainders of versioneer, typo fix.
2015-09-19 21:44:40 +02:00
Thomas Waldmann
0580f2b4eb
style and cosmetic fixes, no semantic changes
...
use simpler super() syntax of python 3.x
remove fixed errors/warnings' codes from setup.cfg flake8 configuration
fix file exclusion list for flake8
2015-07-11 18:31:49 +02:00
Thomas Waldmann
e1c7da1f53
add flake8 configuration (style checker)
...
currently adjusted in a way it does not throw errors and warnings with
the source as it is now.
issues will get fixed over time and the exclude list shall get shorter.
2015-05-22 21:28:00 +02:00
Thomas Waldmann
906ea629f6
use py.test for testing, document it
...
locally (via tox) and also on travis ci.
2015-05-22 21:26:41 +02:00
Jonas Borgström
8a2f555c68
Packaging improvements
2013-06-24 13:53:02 +02:00
Jonas Borgström
1d525b4dc5
Bumped version number
2011-11-06 21:40:29 +01:00