Commit Graph

711 Commits

Author SHA1 Message Date
Fabio Caccamo 1d08935a7b Update README. [ci skip] 2023-04-06 12:52:34 +02:00
Fabio Caccamo a8b52ee973 Improve code quality. 2023-04-05 17:35:55 +02:00
Fabio Caccamo c77ae27880 Replace `flake8` with `Ruff`. 2023-04-05 17:35:38 +02:00
pre-commit-ci[bot] 8b3b79bba2
[pre-commit.ci] pre-commit autoupdate (#270)
updates:
- [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0...23.3.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-04 15:50:34 +02:00
github-actions[bot] 626d2e83bc
Update pre-commit hooks. (#268)
Co-authored-by: fabiocaccamo <fabiocaccamo@users.noreply.github.com>
2023-04-04 15:42:14 +02:00
dependabot[bot] 95565f10d8
Bump phonenumbers from 8.13.7 to 8.13.8 (#269)
Bumps [phonenumbers](https://github.com/daviddrysdale/python-phonenumbers) from 8.13.7 to 8.13.8.
- [Release notes](https://github.com/daviddrysdale/python-phonenumbers/releases)
- [Commits](https://github.com/daviddrysdale/python-phonenumbers/compare/v8.13.7...v8.13.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 15:42:05 +02:00
Fabio Caccamo 3ae46b6fd9 Fix `tox` test command. 2023-03-30 13:28:31 +02:00
Fabio Caccamo 762cb3bd95 Update test-package.yml 2023-03-27 18:37:59 +02:00
dependabot[bot] d592a655aa
Bump mailchecker from 5.0.7 to 5.0.8 (#267) 2023-03-24 22:34:57 +01:00
Fabio Caccamo 3849c0fa43 Update `CHANGELOG` and version. 2023-03-22 01:26:26 +01:00
Fabio Caccamo 792348b7b7
Add `keyattr_dynamic` property (`False` by default). #261 (#266)
* Add `AttributeError` message.

* Add `keyattr_dynamic` property (default `False`).

* Update README.md
2023-03-22 01:21:40 +01:00
Fabio Caccamo 4972b1cc59
Make `ini` serializer case-sensitive by default and accept `optionxform` option via `kwargs`. #263 (#265)
* Switch to `RawConfigParser` and support `optionxform` option.

* Make `ini` serializer case-sensitive by default.

* Simplify code.
2023-03-22 00:06:43 +01:00
Fabio Caccamo b1c16c7695 Update dependabot.yml 2023-03-20 21:11:41 +01:00
dependabot[bot] c3b332a811
Update pre-commit requirement from ==3.1.* to ==3.2.* (#264)
Updates the requirements on [pre-commit](https://github.com/pre-commit/pre-commit) to permit the latest version.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 16:11:17 +01:00
dependabot[bot] 2fec3a2bfa
Bump openpyxl from 3.1.1 to 3.1.2 (#262)
Bumps [openpyxl](https://openpyxl.readthedocs.io) from 3.1.1 to 3.1.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 15:28:16 +01:00
Fabio Caccamo 378c0ac58f Update README.md 2023-03-13 15:26:03 +01:00
Fabio Caccamo 5cb2b11c25 Fix `TypeError` when decoding `.xls` with `None` columns. 2023-03-13 12:45:42 +01:00
Fabio Caccamo b88a4af2e8 Improve decoding errors traceback. 2023-03-13 12:29:08 +01:00
Fabio Caccamo b69fce2dc9 Fix `TypeError` when decoding `.xls` with `None` columns. 2023-03-13 12:28:09 +01:00
Fabio Caccamo ab77c51c99 Update `README.md`. [ci skip] 2023-03-09 14:56:09 +01:00
Fabio Caccamo c5d7eb7959 Update `README.md`. [ci skip] 2023-03-09 12:08:13 +01:00
Fabio Caccamo 3ec3d2a966 Update `CHANGELOG` and version. 2023-03-09 11:58:59 +01:00
Fabio Caccamo a55e0a89c8 Revert "Expose only `benedict` when importing all at top level."
This reverts commit 30c6a2cea4.
2023-03-09 11:56:59 +01:00
Fabio Caccamo 24a54daff6 Prevent automatic keys creation when getting protected attributes. #259 2023-03-09 11:53:40 +01:00
Fabio Caccamo 30c6a2cea4 Expose only `benedict` when importing all at top level. 2023-03-09 11:50:56 +01:00
Fabio Caccamo 0b511bb1c6 Fix missing dependency on `pyyaml`. #260 2023-03-09 11:29:36 +01:00
Fabio Caccamo 2ff607c8a4 Update `CHANGELOG` and version. 2023-03-09 01:21:16 +01:00
Fabio Caccamo 5def5b35eb Fix set state when loading from pickle. 2023-03-09 01:13:24 +01:00
Fabio Caccamo 39301e7dc6 Update `README.md`. [ci skip] 2023-03-09 00:52:56 +01:00
Fabio Caccamo 201ae6a1af Set keys as attributes enabled by default. 2023-03-09 00:51:13 +01:00
Fabio Caccamo c132cb55c1
Separate installation targets (extras requires). #200 (#258)
* Add `options.extras_requires` section.

* Fix setup metadata.

* Update `extras_require`.

* Make extras requirements optional at import time.

* Require extras requirements installation when needed.

* Update exception message.

* Update `extras_require`.

* Update README.md

* Update README.md

* Fix exception message.

* Add `extras.__all__`.

* Improve tests coverage.

* Fix `io_util.is_s3`.

* Fix `io_util.is_filepath`.

* Refactor extras flags.

* Don't catch `ExtrasRequireModuleNotFoundError` on decode.

* Add tests.
2023-03-09 00:39:33 +01:00
Fabio Caccamo d3b935a927 Bump requirements. 2023-03-07 01:01:06 +01:00
Fabio Caccamo ffbd2cf611 Update pull_request_template.md 2023-03-07 00:55:18 +01:00
Fabio Caccamo effa2b8d82 Update `README` (fix quotes). 2023-03-07 00:54:22 +01:00
Fabio Caccamo 35094419b6
Add `keyattr` support (optional). (#257)
* Add `keyattr` support.

* Update README.md
2023-03-07 00:45:38 +01:00
Fabio Caccamo f755d8e421 Remove explicit `strict=` parameter from `zip()` calls (fix tests). 2023-03-02 14:13:24 +01:00
Fabio Caccamo dfe11e8922 Add `flake8-bugbear` to `pre-commit`. 2023-03-01 17:37:50 +01:00
dependabot[bot] e0de10b82f
Update coverage requirement from ==7.1.* to ==7.2.* (#253)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 15:00:35 +01:00
dependabot[bot] 7c72cb4744
Bump python-slugify from 8.0.0 to 8.0.1 (#252)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 14:50:05 +01:00
dependabot[bot] b4aeec855b
Update pre-commit requirement from ==3.0.* to ==3.1.* (#251)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 14:49:04 +01:00
Fabio Caccamo cb4993b500 Fix typo.
Co-Authored-By: Giovanni Totaro - aka Vanni <vanni.totaro@gmail.com>
2023-02-21 17:50:25 +01:00
dependabot[bot] 1280a8164d
Bump openpyxl from 3.1.0 to 3.1.1 (#250)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-21 10:46:33 +01:00
dependabot[bot] be1ea9bb2f
Bump phonenumbers from 8.13.5 to 8.13.6 (#248)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 11:17:39 +01:00
Fabio Caccamo a1f36360ab Set max line length to `88`. 2023-02-13 15:50:26 +01:00
Fabio Caccamo ab094a0cbd Upgrade syntax for `Python >= 3.8`. 2023-02-10 16:19:50 +01:00
Fabio Caccamo dc29f17aec Reformat and cleanup code. 2023-02-09 19:19:02 +01:00
Fabio Caccamo f70d733c24 Read package attrs dynamically from `metadata` module. 2023-02-09 19:18:37 +01:00
Fabio Caccamo 473f417be7 Set `Black` pre-commit hook `line-length` option value. 2023-02-09 18:57:20 +01:00
Fabio Caccamo bcc0f016d4 Run `flake8` also on tests files. 2023-02-09 18:52:24 +01:00
Fabio Caccamo e8e2c37345 Bump `python-fsutil`. 2023-02-08 08:38:46 +01:00