Skip to content

Commit

Permalink
Update files with pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
KYTG committed Feb 8, 2024
1 parent a60e78a commit 1e6a8a2
Show file tree
Hide file tree
Showing 35 changed files with 1,036 additions and 896 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
MANIFEST
dist/
salt_pepper.egg-info/
.tox/
.nox/
artifacts/
1 change: 0 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ Examples leveraging the runner client.
Configuration
-------------

You can configure pepper through the command line, using environment variables
or in a configuration file ``$HOME/.pepperrc`` with the following syntax :
You can configure pepper through the command line, using environment variables
or in a configuration file ``$HOME/.pepperrc`` with the following syntax :

.. code-block::
.. code-block::
[main]
SALTAPI_URL=https://localhost:8000/
Expand Down
1 change: 0 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ comment:
layout: "header, diff"
behavior: default
require_changes: no

11 changes: 6 additions & 5 deletions pepper/__init__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
'''
"""
Pepper is a CLI front-end to salt-api
'''
"""
import pkg_resources

from pepper.libpepper import Pepper, PepperException
from pepper.libpepper import Pepper
from pepper.libpepper import PepperException

__all__ = ('__version__', 'Pepper', 'PepperException')
__all__ = ("__version__", "Pepper", "PepperException")

try:
__version__ = pkg_resources.get_distribution('salt_pepper').version
__version__ = pkg_resources.get_distribution("salt_pepper").version
except pkg_resources.DistributionNotFound:
# package is not installed
__version__ = None
Expand Down
Loading

0 comments on commit 1e6a8a2

Please sign in to comment.