diff --git a/.gitignore b/.gitignore index b44124c28..bf044bd43 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5 @@ tests/test-reports-*/* /.vscode /node_modules .mypy_cache/ +.DS_Store +.envrc diff --git a/jira/client.py b/jira/client.py index 997d251bc..64c3e7406 100644 --- a/jira/client.py +++ b/jira/client.py @@ -266,8 +266,7 @@ def __call__(self, request: requests.PreparedRequest): def init_session(self): """Initialise the Session object's cookies, so we can use the session cookie. - Raises: - HTTPError: if the post returns an erroring http response + Raises HTTPError if the post returns an erroring http response """ username, password = self.__auth authentication_data = {"username": username, "password": password} @@ -4427,7 +4426,7 @@ def create_project( will fetch the one named 'Default' or the first category returned. notificationScheme (Optional[int]): Determines the notification scheme to use. categoryId (Optional[int]): Same as projectCategory. Can be used interchangeably. - url (Optional[string]): A link to information about the project, such as documentation. + url (Optional[str]): A link to information about the project, such as documentation. Returns: Union[bool,int]: Should evaluate to False if it fails otherwise it will be the new project id. diff --git a/tox.ini b/tox.ini index cc9f3f663..873bc2a80 100644 --- a/tox.ini +++ b/tox.ini @@ -81,7 +81,7 @@ extras = cli docs # changedir=docs -usedevelop = False +usedevelop = True skipdist = False setenv = PYTHONHTTPSVERIFY=0