Skip to content

Commit 607a304

Browse files
Merge pull request #542 from cordada/deploy/v0.23.3
Deploy release v0.23.3
2 parents 580fbd0 + e5aac70 commit 607a304

File tree

176 files changed

+346
-282
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+346
-282
lines changed

.bumpversion.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[bumpversion]
2-
current_version = 0.23.2
2+
current_version = 0.23.3
33
commit = True
44
tag = False
55
message = chore: Bump version from {current_version} to {new_version}
66

7-
[bumpversion:file:cl_sii/__init__.py]
7+
[bumpversion:file:src/cl_sii/__init__.py]
88

.deepsource.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version = 1
22

33
test_patterns = [
4-
"cl_sii/**"
4+
"src/cl_sii/**"
55
]
66

77
[[analyzers]]

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ jobs:
123123
- name: Upload coverage reports to Codecov
124124
uses: codecov/[email protected]
125125
with:
126+
token: ${{ secrets.CODECOV_TOKEN }}
126127
directory: ./test-reports/coverage/
127128
fail_ci_if_error: true
128129

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,4 +277,4 @@ tags
277277
# warning: rules order matter. Do not move the ones in this section upwards!
278278

279279
# note: prevent this dir from being ignored (because of rule `[Ss]cripts`)
280-
!/scripts/
280+
!/src/scripts/

HISTORY.md

Lines changed: 9 additions & 0 deletions

MANIFEST.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
include HISTORY.md
22
include LICENSE
33
include README.md
4-
include cl_sii/data/cte/*.json
5-
recursive-include cl_sii *py
6-
recursive-include cl_sii/data/cte/schemas-json *.schema.json
7-
recursive-include cl_sii/data/ref/factura_electronica/schemas-xml *.xsd
8-
include cl_sii/py.typed
4+
include src/cl_sii/data/cte/*.json
5+
recursive-include src/cl_sii *py
6+
recursive-include src/cl_sii/data/cte/schemas-json *.schema.json
7+
recursive-include src/cl_sii/data/ref/factura_electronica/schemas-xml *.xsd
8+
include src/cl_sii/py.typed

Makefile

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
SHELL = /usr/bin/env bash
22

3+
# Sources Root
4+
SOURCES_ROOT = $(CURDIR)/src
5+
36
# Python
47
PYTHON = python3
58
PYTHON_PIP = $(PYTHON) -m pip
@@ -67,15 +70,20 @@ install-deps-dev: ## Install dependencies for development
6770
python -m pip install -r requirements-dev.txt
6871
python -m pip check
6972

73+
lint: FLAKE8_FILES = *.py "$(SOURCES_ROOT)"
74+
lint: ISORT_FILES = *.py "$(SOURCES_ROOT)"
75+
lint: BLACK_SRC = *.py "$(SOURCES_ROOT)"
7076
lint: ## run tools for code style analysis, static type check, etc
71-
flake8 --config=setup.cfg cl_sii scripts tests
77+
flake8 $(FLAKE8_FILES)
7278
mypy
73-
isort --check-only .
74-
$(BLACK) --check .
79+
isort --check-only $(ISORT_FILES)
80+
$(BLACK) --check $(BLACK_SRC)
7581

82+
lint-fix: BLACK_SRC = *.py "$(SOURCES_ROOT)"
83+
lint-fix: ISORT_FILES = *.py "$(SOURCES_ROOT)"
7684
lint-fix: ## Fix lint errors
77-
$(BLACK) .
78-
isort .
85+
$(BLACK) $(BLACK_SRC)
86+
isort $(ISORT_FILES)
7987

8088
test: ## run tests quickly with the default Tox Python
8189
tox -e "$(TOXENV)"

README.md

Lines changed: 1 addition & 1 deletion

mypy.ini

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
[mypy]
22
python_version = 3.8
33
platform = linux
4+
mypy_path =
5+
src
46
files =
5-
cl_sii,
6-
scripts
7+
*.py,
8+
src
9+
exclude = (^(src/tests)/.*$)
710
plugins =
811
pydantic.mypy
912

requirements-dev.in

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
-c requirements.txt
66

7-
black==23.3.0
7+
black==23.7.0
88
bumpversion==0.5.3
9-
coverage==7.2.7
10-
flake8==6.0.0
9+
coverage==7.3.0
10+
flake8==6.1.0
1111
isort==5.12.0
12-
mypy==1.2.0
13-
tox==4.6.4
14-
twine==3.1.1
15-
types-jsonschema==4.17.0.6
12+
mypy==1.5.1
13+
tox==4.8.0
14+
twine==4.0.2
15+
types-jsonschema==4.17.0.10
1616
types-pyOpenSSL==23.2.0.2
17-
types-pytz==2023.3.0.0
18-
wheel==0.41.0
17+
types-pytz==2023.3.0.1
18+
wheel==0.41.2

0 commit comments

Comments
 (0)