Skip to content

Commit

Permalink
Merge branch 'releases/1.1.x' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
jlorieau committed Aug 8, 2023
2 parents 2b3f5bf + 432afe9 commit f1f0d52
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 15 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ checks:
desc: Check environment variables common to all development environments

Path:
decs: Paths to search for executables
decs: Search paths for executables
checkEnv: $PATH
```
Expand All @@ -144,18 +144,25 @@ or [toml](https://toml.io/en/) (e.g. ``.geomancy.toml``)
desc = "Check environment variables common to all development environments"

[checks.Environment.Path]
desc = "Paths to search for executables"
desc = "Search paths for executables"
checkEnv = "$PATH"
```

or [toml](https://toml.io/en/) with each check on 1 line (e.g. ``.geomancy.toml``)

```toml
[Checks.Environment]
Path = {checkEnv = "$PATH", desc = "Search paths for executables"}
```

or [pyproject.toml](https://peps.python.org/pep-0621/)

```toml
[tool.geomancy.checks.Environment]
desc = "Check environment variables common to all development environments"

[tool.geomancy.checks.Environment.Path]
desc = "Paths to search for executables"
desc = "Search paths for executables"
checkEnv = "$PATH"
```

Expand Down
1 change: 0 additions & 1 deletion changelog/48.bugfix.rst

This file was deleted.

18 changes: 18 additions & 0 deletions docs/about/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,24 @@ deprecations section.

.. towncrier release notes start
`geomancy 1.1.3 <https://github.com/jlorieau/geomancy/tree/1.1.3>`_ - 2023-08-08
================================================================================

Bug Fixes
---------

- `#48 <https://github.com/jlorieau/geomancy/issues/48>`_. Fixed bug that would disallow parentheses within parentheses in Result stasuses


`gomancy 1.1.3 <https://github.com/jlorieau/geomancy/tree/1.1.3>`_ - 2023-08-08
===============================================================================

Bug Fixes
---------

- `#48 <https://github.com/jlorieau/geomancy/issues/48>`_. Fixed bug that would disallow parentheses within parentheses in Result stasuses


`geomancy 1.1.1 <https://github.com/jlorieau/geomancy/tree/1.1.1>`_ - 2023-08-05
================================================================================

Expand Down
17 changes: 12 additions & 5 deletions docs/guides/tips_and_tricks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Tips and Tricks
Unwanted environment substitution
---------------------------------

Environment variables are substituted by default in the values passed to
checks. This can be avoided by setting ``substitute`` to False or by
using a literal with single quotes.
Environment variables, denoted by strings starting with a ``$`` character, are
substituted by default in the values passed to checks. This can be avoided by
setting ``substitute`` to False or by using a literal with single quotes.

.. tab-set::

Expand Down Expand Up @@ -50,8 +50,8 @@ Flat Checks Files
-----------------

Checks can be conveniently grouped by category, but this is not a strict
requirement for checks files. For example, the following checks file
includes checks at the root level.
requirement for checks files. The following show file format examples
with checks at the root level, with an example on putting each check on 1 line.

.. tab-set::

Expand Down Expand Up @@ -82,3 +82,10 @@ includes checks at the root level.
desc = "Check for 'pyproject.toml' file"
checkPath = "examples/pyproject.toml"
type = "file"
.. tab-item:: example 3 (toml, 1 line)

.. code-block:: toml
Geomancy = {checkPath = "examples/geomancy.toml", type = "file"}
Pyproject = {checkPath = "examples/pyproject.toml", type = "file"}
4 changes: 2 additions & 2 deletions docs/usage/checks/aws/iam.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _checkAwsIam:

checkAwsIam
checkIam
-----------

.. automodule:: geomancy.checks.aws.iam
Expand All @@ -13,7 +13,7 @@ checkAwsIam

``checkAwsIam``:
| Check the IAM account
| *aliases*: ``checkIAM``, ``CheckIAM``, ``checkAWSIAM``, ``checkAwsIAM``,
| *aliases*: ``CheckIAM``, ``checkAwsIam``, ``checkAWSIAM``, ``checkAwsIAM``,
``CheckAwsIAM``,
``root``: bool (Optional)
Expand Down
6 changes: 3 additions & 3 deletions docs/usage/checks/aws/s3.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _checkAwsS3:

checkAwsS3
----------
checkS3
-------

.. automodule:: geomancy.checks.aws.s3
:noindex:
Expand All @@ -13,7 +13,7 @@ checkAwsS3

``checkAwsS3``: str
| Check the given S3 bucket
| *aliases*: ``checkS3``, ``CheckS3``, ``checkAWSS3``, ``checkAwsS3``,
| *aliases*: ``CheckS3``, ``checkAWSS3``, ``checkAwsS3``,
``CheckAwsS3``
``private``: bool
Expand Down
2 changes: 1 addition & 1 deletion geomancy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from . import checks, config, environment

# Project version
__version__ = (1, 1, 2) # Major, minor, patch, stage
__version__ = (1, 1, 3) # Major, minor, patch, stage


def get_version(version=__version__):
Expand Down

0 comments on commit f1f0d52

Please sign in to comment.