Skip to content

Commit 6fc57dc

Browse files
authored
Merge pull request #12 from eumis/pyproject
Pyproject
2 parents d476560 + e05566b commit 6fc57dc

27 files changed

+229
-751
lines changed

.coveragerc

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install -r requirements.build.txt
23+
pip install pytest
24+
pip install coverage
25+
- name: Test with pytest
26+
run: |
27+
coverage run -m pytest
28+
coverage xml -o cobertura.xml
29+
- name: Publish coverage
30+
if: ${{ matrix.python-version == 3.10 && success() }}
31+
run: |
32+
export CODACY_PROJECT_TOKEN=${{ secrets.CODACY_PROJECT_TOKEN }}
33+
bash <(curl -Ls https://coverage.codacy.com/get.sh)

.github/workflows/release.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Release
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build:
9+
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
python-version: ["3.9"]
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v4
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install -r requirements.build.txt
25+
pip install pytest
26+
pip install build
27+
pip install twine
28+
- name: Test with pytest
29+
run: |
30+
pytest
31+
- name: Build package
32+
if: ${{ success() }}
33+
run: |
34+
python -m build
35+
- name: Publish package
36+
if: ${{ success() }}
37+
run: |
38+
python -m twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }}

.travis.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## Dev
3+
## 3.2.0
44

55
- added Radiobutton two ways binding
66
- added Lisbox pipeline

demo/app/demo.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
background="black"
1414
global:root="{node.instance}">
1515

16-
<tkv:Code>
17-
root.attributes('-zoomed', True)
18-
</tkv:Code>
19-
2016
<tkv:TtkStyle name="demo.Treeview"/>
2117
<tkv:StylesView name="styles"/>
2218

pylint_plugin.py

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)