-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: typing as per PEP-561 and other refactors (#114)
* feat: typing of `jake` WIP Signed-off-by: Paul Horton <phorton@sonatype.com> * port of fix for #112 Signed-off-by: Paul Horton <phorton@sonatype.com> * resolved a bunch of typing issues Signed-off-by: Paul Horton <phorton@sonatype.com> * ci: fixed parameter references Signed-off-by: Paul Horton <phorton@sonatype.com> * ci: fixed parameter references Signed-off-by: Paul Horton <phorton@sonatype.com> * ci: fixed mypy Signed-off-by: Paul Horton <phorton@sonatype.com> * fix: updated `ossindex-lib` to latest RC which now appears to properly resolve caching issues #100 Signed-off-by: Paul Horton <phorton@sonatype.com> * defined lowest dependencies and aligned Signed-off-by: Paul Horton <phorton@sonatype.com> * defined lowest dependencies and aligned Signed-off-by: Paul Horton <phorton@sonatype.com> * defined lowest dependencies and aligned Signed-off-by: Paul Horton <phorton@sonatype.com> * defined lowest dependencies and aligned Signed-off-by: Paul Horton <phorton@sonatype.com> * WIP: JSON output updated to use JSON serialisation - All tests passing locally Signed-off-by: Paul Horton <phorton@sonatype.com>
- Loading branch information
Showing
14 changed files
with
537 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# | ||
# Copyright 2019-Present Sonatype Inc. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
[mypy] | ||
|
||
files = jake/ | ||
|
||
show_error_codes = True | ||
pretty = True | ||
|
||
warn_unreachable = True | ||
allow_redefinition = False | ||
|
||
# ignore_missing_imports = False | ||
# follow_imports = normal | ||
# follow_imports_for_stubs = True | ||
|
||
### Strict mode ### | ||
warn_unused_configs = True | ||
disallow_subclassing_any = True | ||
disallow_any_generics = True | ||
disallow_untyped_calls = True | ||
disallow_untyped_defs = True | ||
disallow_incomplete_defs = True | ||
check_untyped_defs = True | ||
disallow_untyped_decorators = True | ||
no_implicit_optional = True | ||
warn_redundant_casts = True | ||
warn_return_any = True | ||
no_implicit_reexport = True | ||
|
||
# needed to silence some py37|py38 differences | ||
warn_unused_ignores = False | ||
|
||
[mypy-pytest.*] | ||
ignore_missing_imports = True | ||
|
||
[mypy-tests.*] | ||
disallow_untyped_decorators = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.