Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cnheider committed Apr 19, 2023
1 parent 3a651ec commit 3738df7
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fail_fast: true
repos:
- repo: https://github.com/ambv/black
rev: 23.1.0
rev: 23.3.0
hooks:
- id: black
language_version: python3.10
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
# ones.

extensions = [
"sphinx.ext.napoleon",
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.napoleon",
"sphinx.ext.doctest",
"sphinx.ext.intersphinx",
"sphinx.ext.todo",
Expand Down
3 changes: 3 additions & 0 deletions docs/style/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
div.main > div.content > div.article-container > article[role=main] > section > h1 {
overflow-wrap: anywhere;
}
7 changes: 7 additions & 0 deletions scripts/bump_version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

VERSION=1.0.1

NEXTVERSION=$(echo ${VERSION} | awk -F. -v OFS=. '{$NF += 1 ; print}')

echo NEXTVERSION
9 changes: 8 additions & 1 deletion warg/decorators/kw_passing.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,14 @@ def eval_sig_kw_params(
:return:
:rtype:"""
passing_params: dict = dict(passing_sig.parameters)
receiver_params = inspect.signature(receiver_func).parameters
# if inspect.isfunction()
# if inspect.ismethod()
# arg_spec_sig = inspect.getfullargspec(receiver_func)[0]

receiver_params = inspect.signature(
receiver_func
).parameters # TODO: Sometime no signature is found resulting in
# a ValueError exception

var_kw_key = None
var_kw = None
Expand Down

0 comments on commit 3738df7

Please sign in to comment.