diff --git a/.circleci/config.yml b/.circleci/config.yml index 09d8850..e37488d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2.1 orbs: - psyplot: psyplot/psyplot-ci-orb@1.5.31 + psyplot: psyplot/psyplot-ci-orb@1.5.32 mattermost-plugin-notify: nathanaelhoun/mattermost-plugin-notify@1.2.0 executors: diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 17b0708..62c9920 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,7 @@ +v1.4.3 +====== +Minor fix for grid files (`#53 __`) + v1.4.2 ====== Fix for compatibility with python 3.7 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2a1b721..f90a20d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -121,7 +121,7 @@ And we are always happy to help you finalizing incomplete pull requests. ### Documentation Styleguide -* Follow the [numpy documentation guidelines](https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt). +* Follow the [numpy documentation guidelines](https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard). * Use [reStructuredText](http://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html). * Try to not repeat yourself and make use of the `psyplot.docstring.docstrings` diff --git a/docs/contribute.rst b/docs/contribute.rst index 09ba60e..1c9aada 100644 --- a/docs/contribute.rst +++ b/docs/contribute.rst @@ -204,7 +204,7 @@ Documentation Styleguide ~~~~~~~~~~~~~~~~~~~~~~~~ - Follow the `numpy documentation - guidelines `__. + guidelines `__. - Use `reStructuredText `__. - Try to not repeat yourself and make use of the diff --git a/psyplot/config/rcsetup.py b/psyplot/config/rcsetup.py index 8124674..ef29efc 100755 --- a/psyplot/config/rcsetup.py +++ b/psyplot/config/rcsetup.py @@ -1025,7 +1025,7 @@ def get_configdir(name='psyplot', env_key='PSYPLOTCONFIGDIR'): p = os.path.join(h, '.' + name) if not os.path.exists(p): - os.makedirs(p) + os.makedirs(p, exist_ok=True) return p diff --git a/psyplot/project.py b/psyplot/project.py index 6336ce0..fc8a862 100755 --- a/psyplot/project.py +++ b/psyplot/project.py @@ -1163,7 +1163,7 @@ def save_project(self, fname=None, pwd=None, pack=False, **kwargs): if pack and fname is not None: target_dir = os.path.dirname(fname) if not os.path.exists(target_dir): - os.makedirs(target_dir) + os.makedirs(target_dir, exist_ok=True) def tmp_it(): from tempfile import NamedTemporaryFile