Skip to content

Commit

Permalink
Merge pull request #101 from fyntex/develop
Browse files Browse the repository at this point in the history
Release v0.8.4
  • Loading branch information
glarrain committed Feb 6, 2020
2 parents 3e24fab + c584f95 commit 4484b94
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.8.3
current_version = 0.8.4
commit = True
tag = True

Expand Down
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
History
-------

0.8.4 (2020-02-06)
+++++++++++++++++++++++

* (PR #100, 2020-02-06) Update everything for Fyntex, the new owner

0.8.3 (2020-02-06)
+++++++++++++++++++++++

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019, Fyndata (Fynpal SpA)
Copyright (c) 2020, Fyntex TI SpA

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 6 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ The full documentation is at https://lib-cl-sii-python.readthedocs.io.
Status
-------------

.. image:: https://circleci.com/gh/fyndata/lib-cl-sii-python/tree/develop.svg?style=shield
:target: https://circleci.com/gh/fyndata/lib-cl-sii-python/tree/develop
.. image:: https://circleci.com/gh/fyntex/lib-cl-sii-python/tree/develop.svg?style=shield
:target: https://circleci.com/gh/fyntex/lib-cl-sii-python/tree/develop
:alt: CI status

.. image:: https://codecov.io/gh/fyndata/lib-cl-sii-python/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/fyndata/lib-cl-sii-python
.. image:: https://codecov.io/gh/fyntex/lib-cl-sii-python/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/fyntex/lib-cl-sii-python
:alt: Code coverage

.. image:: https://api.codeclimate.com/v1/badges/74408e5f8811f750ff3f/maintainability
:target: https://codeclimate.com/github/fyndata/lib-cl-sii-python/maintainability
.. image:: https://api.codeclimate.com/v1/badges/c4e8a9b023310ff8c276/maintainability
:target: https://codeclimate.com/github/fyntex/lib-cl-sii-python/maintainability
:alt: Code Climate maintainability

.. image:: https://readthedocs.org/projects/lib-cl-sii-python/badge/?version=latest
Expand Down
2 changes: 1 addition & 1 deletion cl_sii/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"""


__version__ = '0.8.3'
__version__ = '0.8.4'
2 changes: 1 addition & 1 deletion cl_sii/contribuyente/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Source: XML types 'RznSocLargaType' and 'RznSocCortaType' in official schema
'SiiTypes_v10.xsd'.
https://github.com/fyndata/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/SiiTypes_v10.xsd#L635-L651
https://github.com/fyntex/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/SiiTypes_v10.xsd#L635-L651
"""

Expand Down
18 changes: 9 additions & 9 deletions cl_sii/dte/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DTE-related constants.
Sources: official XML schemas 'SiiTypes_v10.xsd' and 'DTE_v10.xsd'.
https://github.com/fyndata/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/
https://github.com/fyntex/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/
"""
import enum
Expand All @@ -16,10 +16,10 @@
# - description: "Folio del Documento Electronico"
# - XML type: 'FolioType'
# - source:
# https://github.com/fyndata/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/DTE_v10.xsd#L52-L56
# https://github.com/fyntex/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/DTE_v10.xsd#L52-L56
# XML type 'FolioType' in official schema 'SiiTypes_v10.xsd'.
# - source:
# https://github.com/fyndata/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/SiiTypes_v10.xsd#L153-L160
# https://github.com/fyntex/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/SiiTypes_v10.xsd#L153-L160

DTE_FOLIO_FIELD_TYPE = int
"""DTE field 'Folio' type."""
Expand All @@ -37,10 +37,10 @@
# - description: "Monto Total del DTE"
# - XML type: 'MontoType'
# - source:
# https://github.com/fyndata/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/DTE_v10.xsd#L1160-L1164
# https://github.com/fyntex/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/DTE_v10.xsd#L1160-L1164
# XML type 'MontoType' in official schema 'SiiTypes_v10.xsd'
# - source:
# https://github.com/fyndata/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/SiiTypes_v10.xsd#L563-L570
# https://github.com/fyntex/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/SiiTypes_v10.xsd#L563-L570
# Specification for field 'Monto Total'
# - warning: In certain cases, such as whether negative values are allowed, the SII's specification
# document may contradict the XML schema.
Expand Down Expand Up @@ -73,7 +73,7 @@
# - description: "Tipo de DTE"
# - XML type: 'DTEType'
# - source:
# https://github.com/fyndata/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/DTE_v10.xsd#L47-L51
# https://github.com/fyntex/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/DTE_v10.xsd#L47-L51

DTE_TIPO_DTE_FIELD_TYPE = int
"""DTE field 'Tipo de DTE' type."""
Expand All @@ -92,7 +92,7 @@ class TipoDteEnum(enum.IntEnum):
Source: from official schema ``SiiTypes_v10.xsd``, the XML types (enums)
``DOCType``, ``DocType``, ``DTEType`` and ``DTEFacturasType`` which are
VERY similar.
https://github.com/fyndata/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/SiiTypes_v10.xsd
https://github.com/fyntex/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/SiiTypes_v10.xsd
Notes:
* Enums ``DocType`` and ``DTEType`` have exactly the same elements
Expand Down Expand Up @@ -149,8 +149,8 @@ class TipoDteEnum(enum.IntEnum):
# 110 Factura de exportación electrónica
# 111 Nota de débito de exportación electrónica
# 112 Nota de crédito de exportación electrónica
# https://github.com/fyndata/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/SiiTypes_v10.xsd#L58-L60
# https://github.com/fyndata/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/SiiTypes_v10.xsd#L708-L717
# https://github.com/fyntex/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/SiiTypes_v10.xsd#L58-L60
# https://github.com/fyntex/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/SiiTypes_v10.xsd#L708-L717
# See 'cl_sii.rcv.constants.RcvTipoDocto'
# Should 'is_factura' be true for a "Factura de exportación electrónica" (110) ?

Expand Down
4 changes: 2 additions & 2 deletions cl_sii/rcv/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,14 @@ class RcvTipoDocto(enum.IntEnum):
* XML type (enum) ``DoctoType`` ("Tipos de Documentos") in
official schema ``LibroCV_v10.xsd``.
https://github.com/fyndata/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/LibroCV_v10.xsd#L1563-L1622
https://github.com/fyntex/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/LibroCV_v10.xsd#L1563-L1622
* Values returned by SII endpoint
https://www4.sii.cl/consdcvinternetui/services/data/facadeService/getDatosInicio
* Constant ``cl_sii_api.rcv.AVAILABLE_DOCUMENT_TYPES`` in package
``cl-sii-api`` v0.2.2.
https://github.com/fynpal/lib-cl-sii-api-python/blob/81b4a43/cl_sii_api/rcv.py
https://github.com/fyntex/lib-cl-sii-api-python/blob/81b4a43/cl_sii_api/rcv.py
"""

Expand Down
2 changes: 1 addition & 1 deletion cl_sii/rut/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
RUT-related constants.
Source: XML type 'RUTType' in official schema 'SiiTypes_v10.xsd'.
https://github.com/fyndata/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/SiiTypes_v10.xsd#L127-L136
https://github.com/fyntex/lib-cl-sii-python/blob/f57a326/cl_sii/data/ref/factura_electronica/schemas-xml/SiiTypes_v10.xsd#L127-L136
"""
import re
Expand Down
6 changes: 3 additions & 3 deletions docs/project-maintenance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Make sure main branches are synced with local ones, and tests pass::
git push

Then wait for the
`CircleCI tests (develop) <https://circleci.com/gh/fyndata/workflows/lib-cl-sii-python/tree/develop>`_
`CircleCI tests (develop) <https://circleci.com/gh/fyntex/workflows/lib-cl-sii-python/tree/develop>`_
and verify they were successful.

1) Update changelog
Expand Down Expand Up @@ -59,7 +59,7 @@ Push commit ``abcd1234`` and tag ``vX.Y.Z`` automatically created by ``bumpversi
(GitHub)

* Create PR for
`master...develop <https://github.com/fyndata/lib-cl-sii-python/compare/master...develop>`_.
`master...develop <https://github.com/fyntex/lib-cl-sii-python/compare/master...develop>`_.

* Name: "Release".

Expand All @@ -80,7 +80,7 @@ Push commit ``abcd1234`` and tag ``vX.Y.Z`` automatically created by ``bumpversi
* Create new release:

* Go to the repo's
`"Releases/tags" section <https://github.com/fyndata/lib-cl-sii-python/tags>`_.
`"Releases/tags" section <https://github.com/fyntex/lib-cl-sii-python/tags>`_.

* Create release for the new tag just pushed.

Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ def get_version(*file_paths: Sequence[str]) -> str:
}

setup(
author='Fyndata (Fynpal SpA)',
author_email='no-reply@fyndata.com',
author='Fyntex TI SpA',
author_email='no-reply@fyntex.ai',
classifiers=[
# See https://pypi.org/classifiers/
'Development Status :: 3 - Alpha',
Expand All @@ -90,7 +90,7 @@ def get_version(*file_paths: Sequence[str]) -> str:
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/fyndata/lib-cl-sii-python',
url='https://github.com/fyntex/lib-cl-sii-python',
version=version,
zip_safe=False,
)

0 comments on commit 4484b94

Please sign in to comment.