Skip to content

Conversation

@svillegas-cdd
Copy link
Contributor

Ref: #541

dependabot bot and others added 19 commits September 5, 2023 20:12
Bumps the development-dependencies group with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [black](https://github.com/psf/black) | `23.3.0` | `23.7.0` |
| [coverage](https://github.com/nedbat/coveragepy) | `7.2.7` | `7.3.0` |
| [flake8](https://github.com/pycqa/flake8) | `6.0.0` | `6.1.0` |
| [mypy](https://github.com/python/mypy) | `1.2.0` | `1.5.1` |
| [tox](https://github.com/tox-dev/tox) | `4.6.4` | `4.8.0` |
| [twine](https://github.com/pypa/twine) | `3.1.1` | `4.0.2` |
| [types-jsonschema](https://github.com/python/typeshed) | `4.17.0.6` | `4.17.0.10` |
| [types-pytz](https://github.com/python/typeshed) | `2023.3.0.0` | `2023.3.0.1` |
| [wheel](https://github.com/pypa/wheel) | `0.41.0` | `0.41.2` |

Updates `black` from 23.3.0 to 23.7.0
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@23.3.0...23.7.0)

Updates `coverage` from 7.2.7 to 7.3.0
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](coveragepy/coveragepy@7.2.7...7.3.0)

Updates `flake8` from 6.0.0 to 6.1.0
- [Commits](PyCQA/flake8@6.0.0...6.1.0)

Updates `mypy` from 1.2.0 to 1.5.1
- [Commits](python/mypy@v1.2.0...v1.5.1)

Updates `tox` from 4.6.4 to 4.8.0
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](tox-dev/tox@4.6.4...4.8.0)

Updates `twine` from 3.1.1 to 4.0.2
- [Release notes](https://github.com/pypa/twine/releases)
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
- [Commits](pypa/twine@3.1.1...4.0.2)

Updates `types-jsonschema` from 4.17.0.6 to 4.17.0.10
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-pytz` from 2023.3.0.0 to 2023.3.0.1
- [Commits](https://github.com/python/typeshed/commits)

Updates `wheel` from 0.41.0 to 0.41.2
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](pypa/wheel@0.41.0...0.41.2)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: coverage
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: flake8
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: tox
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: twine
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: types-jsonschema
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: types-pytz
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: wheel
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Fix the following error:

```text
E721 do not compare types, for exact checks use `is` / `is not`,
for instance checks use `isinstance()`
```
…dencies-c71c7ea164

chore: Bump the development-dependencies group with 9 updates
chore(deps): Update `typing-extensions` from 4.3.0 to 4.7.1
Add specific EditorConfig files for the following directories:

- `cl_sii/data/ref/factura_electronica/schemas-xml/`
- `tests/test_data/`
Fix errors reported by EditorConfig-Checker
This project currently uses a “flat layout”. This commit changes the
project structure to a “src layout”.

> The “flat layout” refers to organising a project’s files in a folder
> or repository, such that the various configuration files and import
> packages are all in the top-level directory.

> The “src layout” deviates from the flat layout by moving the code that
> is intended to be importable (i.e. `import awesome_package`, also
> known as import packages) into a subdirectory. This subdirectory is
> typically named `src/`, hence “src layout”.

Two advantages of the src layout are:

> - It helps prevent accidental usage of the in-development copy of the
>   code.
> - The src layout helps enforce that an editable installation is only
> able to import files that were meant to be importable.

Related documentation:

- [Src Layout vs Flat Layout ← Python Packaging User Guide](https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/)
- [Package Discovery and Namespace Packages ← Setuptools documentation](https://setuptools.pypa.io/en/stable/userguide/package_discovery.html#automatic-discovery)
- Update Python-related files:
  - Python Setuptools configuration (`setup.py`).
  - Python Source distribution Manifest (`MANIFEST.in`).
  - Coverage.py configuration.
  - Mypy configuration.
  - Python code comments.
- Update other files:
  - Make tasks.
  - Git Ignore.
  - Bumpversion configuration.
  - DeepSource configuration.
…-src-layout

Change Python project structure from Flat layout to Src layout
Add Codecov repository upload token; update Codecov status badge
This update switches to `pydantic==2.3.0` but retains the code from the previous version.
Subsequent commits will introduce changes to utilize the features from version 2.

Ref: https://app.shortcut.com/cordada/story/768/update-lib-cl-sii-python
…ib-cl-sii-python

Update pydantic from 1.10.12 to 2.3.0
@svillegas-cdd svillegas-cdd added task Task or chore kind: deploy Deployment labels Sep 14, 2023
@svillegas-cdd svillegas-cdd requested review from a team and jtrobles-cdd September 14, 2023 20:19
@svillegas-cdd svillegas-cdd self-assigned this Sep 14, 2023
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
4.9% 4.9% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@svillegas-cdd svillegas-cdd merged commit 607a304 into master Sep 14, 2023
@svillegas-cdd svillegas-cdd deleted the deploy/v0.23.3 branch September 14, 2023 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: deploy Deployment task Task or chore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants