Teal Dulcet
850ad325e2
Fixed B006 (mutable-argument-default): Do not use mutable data structures for argument defaults
2023-12-22 07:25:13 -08:00
Teal Dulcet
7981859997
Fixed SIM212 (if-expr-with-twisted-arms): Use with_lines if with_lines else []
instead of [] if not with_lines else with_lines
2023-12-22 07:24:58 -08:00
Teal Dulcet
7035197fd4
Fixed UP041 (timeout-error-alias): Replace aliased errors with TimeoutError
2023-12-22 07:24:29 -08:00
Teal Dulcet
3ce1d97052
Fixed C404 (unnecessary-list-comprehension-dict): Unnecessary list
comprehension (rewrite as a dict
comprehension)
2023-12-22 07:24:11 -08:00
Teal Dulcet
10f59d70d1
Fixed E712 (true-false-comparison): Comparison to False
should be cond is False
or if not cond:
2023-12-22 07:23:57 -08:00
Teal Dulcet
3013907425
Fixed RUF017 (quadratic-list-summation): Avoid quadratic list summation
2023-12-22 07:23:24 -08:00
Teal Dulcet
6fb9c7a945
Fixed SIM118 (in-dict-keys): Use key in dict
instead of key in dict.keys()
2023-12-22 07:23:15 -08:00
Teal Dulcet
a484a65620
Fixed E703 (useless-semicolon): Statement ends with an unnecessary semicolon
2023-12-22 07:23:08 -08:00
Teal Dulcet
f8005307a7
Fixed E713 (not-in-test): Test for membership should be not in
2023-12-22 07:22:55 -08:00
Teal Dulcet
dc8ecfefd9
Fixed RET503 (implicit-return): Missing explicit return
at the end of function able to return non-None
value
2023-12-22 07:22:35 -08:00
Teal Dulcet
44bc1a8d37
Fixed W291 (trailing-whitespace): Trailing whitespace
2023-12-22 07:22:21 -08:00
Teal Dulcet
935a0c91bd
Fixed SIM222 (expr-or-true): Use True
instead of ... or True
2023-12-22 07:22:06 -08:00
Teal Dulcet
bddc2385db
Fixed C414 (unnecessary-double-cast-or-process): Unnecessary list
call within sorted()
2023-12-22 07:22:00 -08:00
Teal Dulcet
d952590457
Fixed SIM223 (expr-and-false): Use False
instead of ... and False
2023-12-22 07:21:50 -08:00
Teal Dulcet
8af1faf05a
Fixed Q003 (avoidable-escaped-quote): Change outer quotes to avoid escaping inner quotes
2023-12-22 07:21:37 -08:00
Teal Dulcet
7647176191
Fixed PLR1711 (useless-return): Useless return
statement at end of function
2023-12-22 07:21:28 -08:00
Teal Dulcet
8adda9895c
Fixed B007 (unused-loop-control-variable)
2023-12-22 07:21:10 -08:00
Teal Dulcet
c65d2b6e30
Fixed C401 (unnecessary-generator-set): Unnecessary generator (rewrite as a set
comprehension)
2023-12-22 07:21:04 -08:00
Teal Dulcet
b50f133a4e
Fixed SIM110 (reimplemented-builtin)
2023-12-22 07:20:48 -08:00
Teal Dulcet
71b173968a
Fixed E711 (none-comparison)
2023-12-22 07:20:28 -08:00
Teal Dulcet
bfb287b227
Fixed FURB113 (repeated-append)
2023-12-22 07:20:10 -08:00
Teal Dulcet
fd1bf44981
Fixed SIM102 (collapsible-if): Use a single if
statement instead of nested if
statements
2023-12-22 07:20:00 -08:00
Teal Dulcet
5981197e4d
Fixed PLW0108 (unnecessary-lambda): Lambda may be unnecessary; consider inlining inner function
2023-12-22 07:19:47 -08:00
Teal Dulcet
5f45bc7642
Fixed W605 (invalid-escape-sequence)
2023-12-22 07:19:40 -08:00
Teal Dulcet
ce1ab5518f
Fixed UP031 (printf-string-formatting): Use format specifiers instead of percent format
2023-12-22 07:19:06 -08:00
Teal Dulcet
355cad3563
Fixed UP034 (extraneous-parentheses): Avoid extraneous parentheses
2023-12-22 07:18:38 -08:00
Teal Dulcet
502f29822e
Fixed UP030 (format-literals): Use implicit references for positional format fields
2023-12-22 07:17:45 -08:00
Teal Dulcet
1dcf1600fc
Fixed SIM108 (if-else-block-instead-of-if-exp)
2023-12-22 07:17:23 -08:00
Teal Dulcet
4a81762a6b
Fixed RSE102 (unnecessary-paren-on-raise-exception): Unnecessary parentheses on raised exception
2023-12-22 07:16:15 -08:00
Teal Dulcet
298e6de15e
Fixed F841 (unused-variable)
2023-12-22 07:15:14 -08:00
Teal Dulcet
0315ff42ae
Fixed UP032 (f-string): Use f-string instead of format
call
2023-12-22 07:14:00 -08:00
Teal Dulcet
12c4e643f0
Fixed RET504 (unnecessary-assign)
2023-12-22 07:13:36 -08:00
Teal Dulcet
84c5557d03
Fixed W293 (blank-line-with-whitespace): Blank line contains whitespace
2023-12-22 07:12:50 -08:00
Teal Dulcet
5cc598fb72
Fixed PIE810 (multiple-starts-ends-with): Call startswith
once with a tuple
2023-12-22 07:12:34 -08:00
Teal Dulcet
d842f9c531
Fixed EM101 (raw-string-in-exception): Exception must not use a string literal, assign to variable first
2023-12-22 07:10:48 -08:00
Teal Dulcet
e6adda6f97
Fixed PLR6201 (literal-membership): Use a set
literal when testing for membership
2023-12-22 07:10:25 -08:00
Teal Dulcet
e2349f1137
Fixed UP015 (redundant-open-modes): Unnecessary open mode parameters
2023-12-22 07:08:56 -08:00
Teal Dulcet
fa755d7968
Fixed F401 (unused-import)
2023-12-22 07:08:30 -08:00
clpo13
28f929dc13
Fix typo in system-backup.html: Amazone -> Amazon ( #2311 )
2023-10-10 13:22:19 -04:00
Joshua Tauberer
a966913963
Fix command line arguments for duplicity 2.1 ( #2301 )
2023-09-02 15:54:16 -04:00
Joshua Tauberer
08defb12be
Add a new backup.py command to print the duplicity command to the console to help debugging
2023-09-02 07:49:41 -04:00
Jeff Volkenant
7be687e601
Move source and target positional arguments to the end, required for Duplicity 2.1.0
...
(Modified by JT.)
2023-09-02 07:28:48 -04:00
Dmytro Kyrychuk
3148c621d2
Fix issue with slash (/) characters in B2 Application Key ( #2281 )
...
Urlencode B2 Application Key when saving configuration, urldecode it
back when reading. Duplicity accepts urlencoded target directly, no
decoding is necessary when backup is performed.
Resolve #1964
2023-09-02 07:03:24 -04:00
Michael Heuberger
81866de229
Amend --always option to all git describe commands ( #2275 )
2023-09-02 06:59:39 -04:00
Darren Sanders
c034b0f789
Fix how the value is being passed for the gpg-options parameter
...
Duplicity v2.1.0 backups are failing with the error:
"... --gpg-options expected one argument".
The issue is that duplicity v2.1.0 began using the argparse Python
library and the parse_known_args function. This function
interprets the argument being passed, "--cipher-algo=AES256",
as an argument name (because of the leading '-') and not as an
argument value. Because of that it exits with an error and
reports that the --gpg-options arg is missing its value.
Adding an extra set of quotes around this string causes
parse_known_args to interpret the string as an argument
value.
2023-08-30 16:34:17 -07:00
Joshua Tauberer
51ed030917
Allow setting the S3 region name in backup settings to pass to duplicity
...
It's stuffed inside the username portion of the target URL. We already mangle the target before passing it to duplicity so there wasn't a need for a new field.
Fixes the issue raised in #2200 , #2216 .
2023-05-13 07:00:29 -04:00
Joshua Tauberer
e828d63a85
Allow secondary DNS xfr: items to be hostnames that are resolved to IP addresses when generating the nsd configuration
2023-05-13 07:00:10 -04:00
Peter Tóth
6d43d24552
Improve control panel panel switching behaviour by using the URL fragment ( #2252 )
2023-05-13 06:49:34 -04:00
Peter Tóth
963fb9f2e6
email_administrator.py: fix report formatting ( #2249 )
2023-05-13 06:40:31 -04:00
KiekerJan
c9584148a0
Fix issue where sshkeygen fails when ipv6 is disabled ( #2248 )
2023-05-13 06:39:46 -04:00