File tree 4 files changed +40
-25
lines changed
4 files changed +40
-25
lines changed Original file line number Diff line number Diff line change @@ -16,25 +16,25 @@ jobs:
16
16
fetch-depth : 0
17
17
- uses : hynek/build-and-inspect-python-package@v2
18
18
19
- # publish:
20
- # runs-on: ubuntu-latest
21
- # needs: build
22
- # environment:
23
- # name: publishing
24
- # url: https://pypi.org/project/tap-stackexchange/
25
- # if: startsWith(github.ref, 'refs/tags/')
26
- # steps:
27
- # - uses: actions/download-artifact@v4
28
- # with:
29
- # name: Packages
30
- # path: dist
31
- # - name: Upload wheel to release
32
- # uses: svenstaro/upload-release-action@v2
33
- # with:
34
- # file: dist/*.whl
35
- # tag: ${{ github.ref }}
36
- # overwrite: true
37
- # file_glob: true
19
+ publish :
20
+ runs-on : ubuntu-latest
21
+ needs : build
22
+ environment :
23
+ name : publishing
24
+ url : https://pypi.org/project/tap-stackexchange/
25
+ if : startsWith(github.ref, 'refs/tags/')
26
+ steps :
27
+ - uses : actions/download-artifact@v4
28
+ with :
29
+ name : Packages
30
+ path : dist
31
+ - name : Upload wheel to release
32
+ uses : svenstaro/upload-release-action@v2
33
+ with :
34
+ file : dist/*.whl
35
+ tag : ${{ github.ref }}
36
+ overwrite : true
37
+ file_glob : true
38
38
39
- # - name: Publish
40
-
39
+ - name : Publish
40
+
Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ repos:
14
14
- id : end-of-file-fixer
15
15
- id : trailing-whitespace
16
16
17
+ - repo : https://github.com/tox-dev/pyproject-fmt
18
+ rev : " 1.5.3"
19
+ hooks :
20
+ - id : pyproject-fmt
21
+
17
22
- repo : https://github.com/astral-sh/ruff-pre-commit
18
23
# Ruff version.
19
24
rev : ' v0.1.13'
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " tap-stackexchange"
3
- version = " 0.0.1 "
3
+ version = " 0.0.0 "
4
4
description = " `tap-stackexchange` is a Singer tap for StackExchange, built with the Meltano SDK for Singer Taps."
5
5
authors = [
" Edgar Ramírez-Mondragón <[email protected] >" ]
6
6
classifiers = [
@@ -13,6 +13,8 @@ classifiers = [
13
13
]
14
14
keywords = [
15
15
" ELT" ,
16
+ " meltano" ,
17
+ " singer-io" ,
16
18
" StackExchange" ,
17
19
]
18
20
license = " Apache-2.0"
@@ -35,13 +37,21 @@ module = [
35
37
ignore_missing_imports = true
36
38
37
39
[build-system ]
38
- requires = [" poetry-core==1.8.1" ]
39
- build-backend = " poetry.core.masonry.api"
40
+ build-backend = " poetry_dynamic_versioning.backend"
41
+ requires = [
42
+ " poetry-core==1.8.1" ,
43
+ " poetry-dynamic-versioning==1.2" ,
44
+ ]
40
45
41
46
[tool .poetry .scripts ]
42
47
# CLI declaration
43
48
tap-stackexchange = ' tap_stackexchange.tap:TapStackExchange.cli'
44
49
50
+ [tool .poetry-dynamic-versioning ]
51
+ enable = true
52
+ metadata = true
53
+ style = " pep440"
54
+
45
55
[tool .ruff ]
46
56
line-length = 88
47
57
target-version = " py38"
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class TapStackExchange(Tap):
47
47
th .Property (
48
48
"tags" ,
49
49
th .ArrayType (th .StringType ),
50
- default = ["LimeSurvey" ],
50
+ default = [],
51
51
description = "Question tags" ,
52
52
),
53
53
th .Property (
You can’t perform that action at this time.
0 commit comments