Skip to content

Commit

Permalink
Upgrade Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Oct 9, 2024
1 parent 405294c commit 9e40f2f
Show file tree
Hide file tree
Showing 6 changed files with 104 additions and 364 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ repos:
- --output-format=pylint
additional_dependencies:
- prospector-profile-duplicated==1.6.0 # pypi
- prospector-profile-utils==1.8.0 # pypi
- repo: https://github.com/sbrunner/jsonschema-validator
rev: 0.1.0
hooks:
Expand Down
45 changes: 4 additions & 41 deletions .prospector.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
inherits:
- utils:base
- utils:no-design-checks
- utils:fix
- duplicated
strictness: veryhigh
max-line-length: 110

doc-warnings: true

ignore-paths:
Expand All @@ -15,56 +17,17 @@ pylint:
- ujson
- lxml
disable:
- too-many-return-statements
- too-many-arguments
- too-many-branches
- too-many-instance-attributes
- too-few-public-methods
- global-statement
- line-too-long
- import-outside-toplevel
- invalid-name
- no-else-return
- no-else-raise
- no-self-use
- import-error
- unused-argument
- use-symbolic-message-instead
- missing-module-docstring
- missing-function-docstring
- missing-timeout # A default timeout is set

pycodestyle:
options:
max-line-length: 110
disable:
- E722 # do not use bare 'except', duplicated with pylint
- E261 # at least two spaces before inline comment, duplicated with black

pydocstyle:
disable:
- D102 # Missing docstring in public method
- D104 # Missing docstring in public package
- D105 # Missing docstring in magic method
- D107 # Missing docstring in __init__
- D202 # No blank lines allowed after function docstring (found 1)
- D203 # 1 blank line required before class docstring (found 0)
- D212 # Multi-line docstring summary should start at the first line
- D407 # Missing dashed underline after section ('Arguments')
- D412 # No blank lines allowed between a section header and its content ('Arguments')
mypy:
run: true

bandit:
run: true
options:
config: .bandit.yaml

pyroma:
run: true

mccabe:
run: false

dodgy:
run: false
Loading

0 comments on commit 9e40f2f

Please sign in to comment.