Compare commits

..

67 Commits
0.1 ... master

Author SHA1 Message Date
nico cde815c7ba
Merge pull request #51 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.18.5
build(deps): bump ruamel-yaml from 0.18.4 to 0.18.5
2023-11-09 07:34:12 +00:00
dependabot[bot] 5ca0949045
build(deps): bump ruamel-yaml from 0.18.4 to 0.18.5
Bumps [ruamel-yaml]() from 0.18.4 to 0.18.5.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-03 11:41:11 +00:00
nico b485eab1bc
Merge pull request #50 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.18.4
build(deps): bump ruamel-yaml from 0.18.3 to 0.18.4
2023-11-02 12:59:56 +00:00
dependabot[bot] 78f55eebdb
build(deps): bump ruamel-yaml from 0.18.3 to 0.18.4
Bumps [ruamel-yaml]() from 0.18.3 to 0.18.4.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 11:40:27 +00:00
nico c30b8d3ece
Merge pull request #48 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.18.3
build(deps): bump ruamel-yaml from 0.17.40 to 0.18.3
2023-10-30 15:49:48 +00:00
dependabot[bot] 0912ca0131
build(deps): bump ruamel-yaml from 0.17.40 to 0.18.3
Bumps [ruamel-yaml]() from 0.17.40 to 0.18.3.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 11:35:10 +00:00
nico c218d5300f
Merge pull request #45 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.17.40
build(deps): bump ruamel-yaml from 0.17.39 to 0.17.40
2023-10-23 12:34:29 +00:00
dependabot[bot] 8a558bfde8
build(deps): bump ruamel-yaml from 0.17.39 to 0.17.40
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.39 to 0.17.40.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 11:59:19 +00:00
nico 9a28ef0dd1
Merge pull request #44 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.17.39
build(deps): bump ruamel-yaml from 0.17.36 to 0.17.39
2023-10-20 15:36:56 +00:00
dependabot[bot] 0416faec01
build(deps): bump ruamel-yaml from 0.17.36 to 0.17.39
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.36 to 0.17.39.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 11:35:57 +00:00
nico 4b9a5faa2e
Merge pull request #43 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.17.36
build(deps): bump ruamel-yaml from 0.17.35 to 0.17.36
2023-10-19 12:16:15 +00:00
dependabot[bot] 29faad3374
build(deps): bump ruamel-yaml from 0.17.35 to 0.17.36
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.35 to 0.17.36.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 11:17:12 +00:00
nico 414c74fd61
Merge pull request #42 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.17.35
build(deps): bump ruamel-yaml from 0.17.33 to 0.17.35
2023-10-04 16:37:43 +02:00
dependabot[bot] 7a276c51a3
build(deps): bump ruamel-yaml from 0.17.33 to 0.17.35
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.33 to 0.17.35.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-04 14:35:11 +00:00
nico 69737ce45a
Merge pull request #41 from mightyBroccoli/dependabot/pip/ruamel-yaml-clib-0.2.8
build(deps): bump ruamel-yaml-clib from 0.2.7 to 0.2.8
2023-10-04 16:34:12 +02:00
dependabot[bot] 0e9c2eb0ae
build(deps): bump ruamel-yaml-clib from 0.2.7 to 0.2.8
Bumps [ruamel-yaml-clib](https://sourceforge.net/p/ruamel-yaml-clib/code/ci/default/tree) from 0.2.7 to 0.2.8.

---
updated-dependencies:
- dependency-name: ruamel-yaml-clib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-04 11:17:20 +00:00
nico d53e00cdf4
Merge pull request #40 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.17.33
build(deps): bump ruamel-yaml from 0.17.32 to 0.17.33
2023-09-28 16:07:19 +02:00
dependabot[bot] 04d4710029
build(deps): bump ruamel-yaml from 0.17.32 to 0.17.33
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.32 to 0.17.33.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-28 11:52:00 +00:00
nico 248915ae70
Merge pull request #39 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.17.32
build(deps): bump ruamel-yaml from 0.17.31 to 0.17.32
2023-06-20 16:22:58 +00:00
dependabot[bot] 2ab3560388
build(deps): bump ruamel-yaml from 0.17.31 to 0.17.32
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.31 to 0.17.32.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 11:57:38 +00:00
nico 679eea5212
Merge pull request #38 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.17.31
build(deps): bump ruamel-yaml from 0.17.29 to 0.17.31
2023-05-31 19:39:00 +00:00
dependabot[bot] 901809c6e7
build(deps): bump ruamel-yaml from 0.17.29 to 0.17.31
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.29 to 0.17.31.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-31 11:57:22 +00:00
nico ef101e7d9e
Merge pull request #37 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.17.29
build(deps): bump ruamel-yaml from 0.17.28 to 0.17.29
2023-05-30 12:00:06 +00:00
dependabot[bot] 01a6c958b4
build(deps): bump ruamel-yaml from 0.17.28 to 0.17.29
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.28 to 0.17.29.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-30 11:57:37 +00:00
nico bdbfc279ea
Merge pull request #36 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.17.28
build(deps): bump ruamel-yaml from 0.17.26 to 0.17.28
2023-05-26 18:50:01 +00:00
dependabot[bot] 465c8d16f3
build(deps): bump ruamel-yaml from 0.17.26 to 0.17.28
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.26 to 0.17.28.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-26 11:57:17 +00:00
nico 3f9b8879eb
Merge pull request #34 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.17.26
build(deps): bump ruamel-yaml from 0.17.21 to 0.17.26
2023-05-23 12:43:16 +00:00
dependabot[bot] a6f8ca9bc0
build(deps): bump ruamel-yaml from 0.17.21 to 0.17.26
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.21 to 0.17.26.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 12:42:22 +00:00
nico 420802ea50
Merge pull request #35 from mightyBroccoli/dependabot/pip/requests-2.31.0
build(deps): bump requests from 2.28.2 to 2.31.0
2023-05-23 12:41:34 +00:00
dependabot[bot] 11e8dc4a99
build(deps): bump requests from 2.28.2 to 2.31.0
Bumps [requests](https://github.com/psf/requests) from 2.28.2 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.28.2...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 06:06:28 +00:00
nico 04b143f334
Merge remote-tracking branch 'origin/dependabot/pip/requests-2.28.2'
* origin/dependabot/pip/requests-2.28.2:
  build(deps): bump requests from 2.28.1 to 2.28.2
2023-01-29 21:17:17 +01:00
dependabot[bot] cede8df891
build(deps): bump requests from 2.28.1 to 2.28.2
Bumps [requests](https://github.com/psf/requests) from 2.28.1 to 2.28.2.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.28.1...v2.28.2)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-29 20:13:41 +00:00
nico ecce554925 ci: disable fail-fast
disabling fail-fast allows all matrix configurations to run
2023-01-29 20:12:15 +00:00
nico e5ba826310 ^ci: add more python versions to test matrix 2023-01-29 20:12:15 +00:00
dependabot[bot] 59f7aae906
build(deps): bump ruamel-yaml-clib from 0.2.6 to 0.2.7
Bumps [ruamel-yaml-clib](https://sourceforge.net/p/ruamel-yaml-clib/code/ci/default/tree) from 0.2.6 to 0.2.7.

---
updated-dependencies:
- dependency-name: ruamel-yaml-clib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-29 12:56:01 +00:00
nico b1333cdbe4
Merge branch 'ci/ghworkflowupdate'
* ci/ghworkflowupdate:
  ci(update): upgrade workflow actions
2023-01-29 11:10:03 +01:00
nico bf4e6334a3
ci(update): upgrade workflow actions 2023-01-29 09:59:41 +01:00
dependabot[bot] de036834ac build(deps): bump requests from 2.28.0 to 2.28.1
Bumps [requests](https://github.com/psf/requests) from 2.28.0 to 2.28.1.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.28.0...v2.28.1)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 14:57:38 +02:00
dependabot[bot] 2c40ed7dd1 build(deps): bump requests from 2.27.1 to 2.28.0
Bumps [requests](https://github.com/psf/requests) from 2.27.1 to 2.28.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.27.1...v2.28.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-25 15:35:04 +02:00
nico 4dee91b83b
Merge branch 'dependabot/pip/requests-2.27.1'
Merge branch 'dependabot/pip/ruamel-yaml-0.17.21'

Signed-off-by: nico wellpott <nico@magicbroccoli.de>
2022-02-15 22:24:14 +01:00
dependabot[bot] 03fd011f03
build(deps): bump requests from 2.26.0 to 2.27.1
Bumps [requests](https://github.com/psf/requests) from 2.26.0 to 2.27.1.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.26.0...v2.27.1)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-06 11:11:08 +00:00
dependabot[bot] 2248b879cf
build(deps): bump ruamel-yaml from 0.17.16 to 0.17.17
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.16 to 0.17.17.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 11:09:06 +00:00
nico 7f50abef20
Merge branch 'dependabot/pip/ruamel-yaml-0.17.16' 2021-09-01 16:12:13 +02:00
dependabot[bot] f4692ca3c8
build(deps): bump ruamel-yaml from 0.17.14 to 0.17.16
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.14 to 0.17.16.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 11:06:26 +00:00
nico c4584706dd
Merge branch 'dependabot/pip/ruamel-yaml-0.17.14' 2021-08-29 01:58:26 +02:00
dependabot[bot] a1b65efde2
build(deps): bump ruamel-yaml from 0.17.11 to 0.17.14
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.11 to 0.17.14.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-26 11:08:43 +00:00
nico 181a549369
Merge branch 'dependabot/pip/ruamel-yaml-0.17.11' 2021-08-19 23:14:31 +02:00
dependabot[bot] 2e0e6dfae9
build(deps): bump ruamel-yaml from 0.17.10 to 0.17.11
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.10 to 0.17.11.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-19 11:06:51 +00:00
nico a0ac0b2cea
fix: UnboundLocalError due to reference before assignment
* fix broken none catch
2021-07-23 18:00:53 +02:00
nico b2b44ce4c1
Merge branch 'dependabot/pip/requests-2.26.0' 2021-07-23 17:37:33 +02:00
dependabot[bot] 80528a3609
build(deps): bump requests from 2.25.1 to 2.26.0
Bumps [requests](https://github.com/psf/requests) from 2.25.1 to 2.26.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/master/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.25.1...v2.26.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-23 15:36:04 +00:00
nico a5251e2381
fix: relative import inside package
+ change from .file to module.file in the import statement
2021-07-23 17:20:54 +02:00
nico c8de19f4ec
Merge branch 'dependabot/pip/ruamel-yaml-clib-0.2.6' 2021-07-06 01:01:37 +02:00
dependabot[bot] d5e2586260
build(deps): bump ruamel-yaml-clib from 0.2.4 to 0.2.6
Bumps [ruamel-yaml-clib](https://sourceforge.net/p/ruamel-yaml-clib/code/ci/default/tree) from 0.2.4 to 0.2.6.

---
updated-dependencies:
- dependency-name: ruamel-yaml-clib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 11:10:10 +00:00
nico 062e3b256e
Merge pull request #11 from mightyBroccoli/dependabot/pip/ruamel-yaml-clib-0.2.4
build(deps): bump ruamel-yaml-clib from 0.2.2 to 0.2.4
2021-06-26 19:26:21 +02:00
dependabot[bot] 7276f9a2fb
build(deps): bump ruamel-yaml-clib from 0.2.2 to 0.2.4
Bumps [ruamel-yaml-clib](https://sourceforge.net/p/ruamel-yaml-clib/code/ci/default/tree) from 0.2.2 to 0.2.4.

---
updated-dependencies:
- dependency-name: ruamel-yaml-clib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-25 11:08:19 +00:00
nico 84bce17512
Merge pull request #10 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.17.10
build(deps): bump ruamel-yaml from 0.17.9 to 0.17.10
2021-06-24 23:33:37 +02:00
dependabot[bot] e092649e12
build(deps): bump ruamel-yaml from 0.17.9 to 0.17.10
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.9 to 0.17.10.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-24 11:08:13 +00:00
nico 9724b80743
Merge pull request #9 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.17.9
build(deps): bump ruamel-yaml from 0.17.8 to 0.17.9
2021-06-14 18:40:07 +02:00
dependabot[bot] 731235d527
build(deps): bump ruamel-yaml from 0.17.8 to 0.17.9
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.8 to 0.17.9.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 06:07:05 +00:00
nico 29d9a30053
Merge pull request #8 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.17.8
build(deps): bump ruamel-yaml from 0.17.7 to 0.17.8
2021-06-10 10:28:38 +02:00
dependabot[bot] 185fcf9546
build(deps): bump ruamel-yaml from 0.17.7 to 0.17.8
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.7 to 0.17.8.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 06:14:48 +00:00
nico 26b3fe8209
Merge pull request #7 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.17.7
build(deps): bump ruamel-yaml from 0.17.6 to 0.17.7
2021-06-01 13:27:33 +02:00
dependabot[bot] 6e6fa8ae56
build(deps): bump ruamel-yaml from 0.17.6 to 0.17.7
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.6 to 0.17.7.

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-01 06:52:00 +00:00
nico 08bcd704d0
requirements: remove urllib3
* remove urllib3 from direct requirements file
2021-05-31 13:30:03 +02:00
nico f8976c5ab4
Merge pull request #6 from mightyBroccoli/dependabot/pip/ruamel-yaml-0.17.6
build(deps): bump ruamel-yaml from 0.17.4 to 0.17.6
2021-05-31 13:27:27 +02:00
dependabot[bot] a16257f879
build(deps): bump ruamel-yaml from 0.17.4 to 0.17.6
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.4 to 0.17.6.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 07:42:47 +00:00
5 changed files with 17 additions and 17 deletions

View File

@ -11,15 +11,17 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false
matrix: matrix:
python-version: [3.7, 3.8, 3.9] python-version: [3.8, 3.9, '3.10', '3.11']
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip

View File

@ -1,5 +1,4 @@
appdirs==1.4.4 appdirs==1.4.4
requests==2.25.1 requests==2.31.0
ruamel.yaml==0.17.4 ruamel.yaml==0.18.5
ruamel.yaml.clib==0.2.2 ruamel.yaml.clib==0.2.8
urllib3==1.26.4

View File

@ -3,27 +3,26 @@ import sys
from ruamel.yaml import YAML, scalarstring from ruamel.yaml import YAML, scalarstring
from .misc import local_file_present from blimp.misc import local_file_present
class ProcessBlocklist: class ProcessBlocklist:
def __init__(self): def __init__(self):
pass pass
@classmethod @classmethod
def process(self, blacklist, outfile, dryrun: bool): def process(self, blacklist, outfile, dryrun: bool):
""" """
function to build and compare the local yaml file to the remote file function to build and compare the local yaml file to the remote file
if the remote file is different, the local file gets overwritten if the remote file is different, the local file gets overwritten
""" """
# cheeky none catch
try: try:
# load local blacklist outfile # load local blacklist outfile
if local_file_present(outfile):
with open(outfile, "r", encoding="utf-8") as local_file: with open(outfile, "r", encoding="utf-8") as local_file:
local_blacklist = local_file.read() local_blacklist = local_file.read()
except TypeError: except (TypeError, FileNotFoundError):
# no local copy use empty one instead # no local copy use empty one instead
local_blacklist = YAML(typ="safe") local_blacklist = YAML(typ="safe")

View File

@ -3,7 +3,7 @@
import argparse import argparse
from .main import Blimp from blimp.main import Blimp
def cli(): def cli():

View File

@ -6,8 +6,8 @@ from pathlib import Path
import requests import requests
from appdirs import user_cache_dir from appdirs import user_cache_dir
from .bl_process import ProcessBlocklist from blimp.bl_process import ProcessBlocklist
from .misc import local_file_present from blimp.misc import local_file_present
class Blimp: class Blimp:
@ -91,5 +91,5 @@ class Blimp:
if __name__ == "__main__": if __name__ == "__main__":
from .cli import cli from blimp.cli import cli
cli() cli()