File tree Expand file tree Collapse file tree 5 files changed +75
-29
lines changed Expand file tree Collapse file tree 5 files changed +75
-29
lines changed Original file line number Diff line number Diff line change
1
+ github :
2
+ owner : getsentry
3
+ repo : devservices
4
+ changelogPolicy : auto
5
+ targets :
6
+ - name : github
7
+ - name : pypi
8
+ - name : sentry-pypi
9
+ internalPypiRepo : getsentry/pypi
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ version :
7
+ description : Version to release
8
+ required : true
9
+ force :
10
+ description : Force a release even when there are release-blockers (optional)
11
+ required : false
12
+
13
+ jobs :
14
+ release :
15
+ runs-on : ubuntu-latest
16
+ name : " Release a new version"
17
+ steps :
18
+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
19
+ with :
20
+ token : ${{ secrets.GH_RELEASE_PAT }}
21
+ fetch-depth : 0
22
+ - name : Prepare release
23
+ uses : getsentry/action-prepare-release@3cea80dc3938c0baf5ec4ce752ecb311f8780cdc # v1.6.4
24
+ env :
25
+ GITHUB_TOKEN : ${{ secrets.GH_RELEASE_PAT }}
26
+ with :
27
+ version : ${{ github.event.inputs.version }}
28
+ force : ${{ github.event.inputs.force }}
Original file line number Diff line number Diff line change
1
+ [build-system ]
2
+ requires = [" setuptools>=45" , " wheel" ]
3
+ build-backend = " setuptools.build_meta"
4
+
5
+ [project ]
6
+ name = " devservices"
7
+ version = " 0.1.0"
8
+ requires-python = " >=3.12"
9
+ dependencies = [
10
+ " pyyaml" ,
11
+ " sentry-devenv" ,
12
+ ]
13
+
14
+ [project .optional-dependencies ]
15
+ dev = [
16
+ " black" ,
17
+ " mypy" ,
18
+ " pre-commit" ,
19
+ " pytest" ,
20
+ " types-PyYAML" ,
21
+ ]
22
+
23
+ [project .scripts ]
24
+ devservices = " main:main"
25
+
26
+ [tool .setuptools ]
27
+ package-dir = {"" = " src" }
28
+ packages = {find = {where = [" src" ]}}
29
+ include-package-data = true
30
+
31
+ [tool .mypy ]
32
+ python_version = " 3.12"
33
+ strict = true
34
+ ignore_missing_imports = true
35
+
36
+ [[tool .mypy .overrides ]]
37
+ module = " yaml.*"
38
+ ignore_missing_imports = true
Original file line number Diff line number Diff line change @@ -4,11 +4,3 @@ extend-ignore =
4
4
# # black takes care of that:
5
5
# line too long (X > Y characters)
6
6
E501
7
-
8
- [mypy]
9
- python_version = 3.12
10
- strict = True
11
- ignore_missing_imports = True
12
-
13
- [mypy-yaml.*]
14
- ignore_missing_imports = True
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments