File tree Expand file tree Collapse file tree 6 files changed +30
-3
lines changed
only-ni-python-styleguide Expand file tree Collapse file tree 6 files changed +30
-3
lines changed Original file line number Diff line number Diff line change 1+ [project ]
2+ name = " only-ni-python-styleguide"
3+ version = " 0.1.0"
4+ description = " Tests actions/analyze-project with a project that does not have mypy or pyright dependencies"
5+ authors = [
6+ {
name =
" Joel Dixon" ,
email =
" [email protected] " }
7+ ]
8+ readme = " README.md"
9+ requires-python = " >=3.9,<4.0"
10+ dynamic = [" dependencies" ]
11+
12+ [tool .poetry ]
13+ packages = [{include = " test_project" , from = " src" }]
14+
15+ [tool .poetry .group .lint .dependencies ]
16+ ni-python-styleguide = " >=0.4.1"
17+
18+ [build-system ]
19+ requires = [" poetry-core>=2.0.0,<3.0.0" ]
20+ build-backend = " poetry.core.masonry.api"
Original file line number Diff line number Diff line change 1+ """Docstring required."""
Original file line number Diff line number Diff line change 1+ """Module docstring."""
Original file line number Diff line number Diff line change 11[project ]
2- name = " mypy -errors"
2+ name = " pyright -errors"
33version = " 0.1.0"
4- description = " Tests actions/analyze-project with a project that has mypy errors"
4+ description = " Tests actions/analyze-project with a project that has pyright errors"
55authors = [
66 {
name =
" Joel Dixon" ,
email =
" [email protected] " }
77]
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ jobs:
228228 python-version : ${{ matrix.python-version }}
229229 - name : Set up Poetry
230230 uses : ./setup-poetry
231- - name : Analyze Python Project
231+ - name : Analyze minimal valid project
232232 uses : ./analyze-project
233233 with :
234234 project-directory : ${{ github.workspace }}/.github/test_projects/minimal
@@ -262,6 +262,11 @@ jobs:
262262 uses : ./.github/actions/verify_expected_failure
263263 with :
264264 step-outcome : ${{ steps.analyze-pyright-errors.outcome }}
265+ - name : Analyze only-ni-python-styleguide project
266+ uses : ./analyze-project
267+ continue-on-error : true
268+ with :
269+ project-directory : ${{ github.workspace }}/.github/test_projects/only-ni-python-styleguide
265270
266271 # This job is intended to combine the test results so we don't have to list
267272 # each matrix combination in the required status check settings. There are a
You can’t perform that action at this time.
0 commit comments