Commit Graph

601 Commits

Author SHA1 Message Date
Alfred Wingate
21fe4eafec
Enable pyupgrade linting
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 05:21:49 +02:00
Alfred Wingate
377ba2f727
N806
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 05:19:02 +02:00
Alfred Wingate
9f7ba6c9cd
Address N818
https://peps.python.org/pep-0008/#exception-names

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 05:17:14 +02:00
Alfred Wingate
764bcf9ce8
Enable PEP8 linting in ruff
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 05:16:25 +02:00
Alfred Wingate
c0be0e0b67
Fix invalid backslash characters
* https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 05:10:40 +02:00
Alfred Wingate
d48699e5fd
Enable all pycodestyle checks in ruff
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 05:02:30 +02:00
Alfred Wingate
eedf3c5939
Remove euscanwww leftovers from TODO
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 04:51:30 +02:00
Alfred Wingate
7ac854dc61
Add changelog to python metadata
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 04:43:44 +02:00
Alfred Wingate
0551629a9a
Update MANIFEST.in
* Missed in previous changes

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 04:39:25 +02:00
Alfred Wingate
17c4e19bc5
Filter XMLParsedAsHTMLWarnings
* Parsing xhtml sites would trigger it.

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 04:27:57 +02:00
Alfred Wingate
c489b404d1
Temporarily remove README.rst from METADATA
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 01:56:00 +02:00
Alfred Wingate
7b4951977b
Update changelog (at least the 1.0.1 changes)
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 01:41:53 +02:00
Alfred Wingate
86c88e8d30
Change default user-agent
* Better to have it be more meaningful.

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 01:14:05 +02:00
Parona
f6bdd66f5f Merge branch 'revamp' into 'master'
Upgrade to PEP517 buildsystem, fix broken gentoolkit usage. Pretty up

See merge request src_prepare/euscan-ng!1
2023-11-15 22:36:44 +00:00
Alfred Wingate
3222f348d8
Use a cleaned up copy of the license
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 00:16:19 +02:00
Alfred Wingate
b4749fad3e
Fix inconsistency in --version in regards to copyright headers
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 00:16:19 +02:00
Alfred Wingate
9efcd3a842
Update copyright
* Cleanup inconsistencies in the headers while at it

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 00:16:19 +02:00
Alfred Wingate
c40d65a79e
Remove man page
* Will look into alternatives that either most likely create a final man
  page during sdist creation.

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 00:16:19 +02:00
Alfred Wingate
c6e6e25862
Add publishing capability to CI
* Not yet enabled automatically due to gentoolkit

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 00:16:19 +02:00
Alfred Wingate
6c90268712
.git-blame-ignore-revs: Ignore mass formatting commits
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 00:16:19 +02:00
Alfred Wingate
a8f35aee25
Fix issues pointed out by ruff
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-16 00:16:07 +02:00
Alfred Wingate
70f88ed37d
Run isort on project
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:40 +02:00
Alfred Wingate
d860708ec9
Run black on project
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:40 +02:00
Alfred Wingate
a91775919c
Add pre-commit config
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:40 +02:00
Alfred Wingate
02fd3a9e79
Add gitlab CI
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:40 +02:00
Alfred Wingate
65e77ac533
Configure linting and formatting tools
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:39 +02:00
Alfred Wingate
dfa0bb7424
Add python3.12 compatability
* imp and find_loader got removed in py3.12

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:39 +02:00
Alfred Wingate
50a23b71dd
Get version from git with setuptools_scm
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:39 +02:00
Alfred Wingate
cc2d715b6d
Transition to PEP517 buildsystem
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:39 +02:00
Alfred Wingate
bae87b0877
Fix euscan by using portage MetadataXML over gentoolkit Metadata
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:39 +02:00
Alfred Wingate
c51d3fc70c
Remove helper scripts
* These scripts will be broken after PEP517 transition.

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:39 +02:00
Alfred Wingate
c873e1520d
Change source layout
* In preparation for PEP517 transition.

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:39 +02:00
Alfred Wingate
ec7399752c
Remove the djano webservice in its entirety
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-15 23:30:06 +02:00
Maciej Barć
962f26ae05
update setup files
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
2021-02-26 19:04:36 +01:00
Maciej Barć
be2d26bfd9
makefile: add all target 2020-09-16 15:20:31 +02:00
Maciej Barć
184085c20d
makefile: add 2020-09-12 01:06:02 +02:00
Maciej Barć
cc992227fc
manifest: update 2020-09-12 01:04:43 +02:00
Maciej Barć
73f55dfaab
license: rename from copying 2020-09-11 21:52:34 +02:00
Maciej Barć
e99737131d
setup: split web part 2020-09-11 21:41:20 +02:00
Maciej Barć
5dc5751432
gitignore: update 2020-09-11 21:40:02 +02:00
Maciej Barć
c76b0be9f5
thanks: remove 2020-09-11 21:28:23 +02:00
Maciej Barć
b0da1f1b10
readme: update ng 2020-09-11 21:03:34 +02:00
Maciej Barć
0ffb357689
fork 2020-09-11 14:48:42 +02:00
Bernard Cafarelli
fff319bd8b
Fix helper regex for python 3.7 2020-01-14 16:29:58 +01:00
Bernard Cafarelli
8e25050f4a
Disable Content-disposition check for now
Some packages (nextcloud-client) for example have different filename in
this header, and so I miss new versions
2020-01-07 15:35:40 +01:00
Bernard Cafarelli
90464f8697
Fix brute-force short option 2020-01-06 22:19:23 +01:00
Bernard Cafarelli
b25c66e9ab
Update some blacklists
Also fix blacklist log message
2019-12-05 19:03:49 +01:00
Bernard Cafarelli
9afec1a034
More python3 fixes 2019-12-05 19:00:02 +01:00
Bernard Cafarelli
94c3eeba49
Initial python3 compatibility 2019-12-05 17:46:19 +01:00
Corentin Chary
2fedc7450d Merge pull request #29 from ercpe/pypi-https
Use HTTPS for pypi's http api
2016-10-15 16:31:07 +02:00