Skip to content

Commit

Permalink
cleanup metadata/packaging and workflow files
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen L Arnold <[email protected]>
  • Loading branch information
sarnold committed Jun 20, 2022
1 parent 05b6e74 commit 1dd0e2d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
pull_request:
push:
branches: [ master ]
branches: [ main ]

jobs:
build:
Expand Down
5 changes: 2 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
[metadata]
name = ymltoxml
version = attr: ymltoxml.__version__
description = attr: ymltoxml.__description__
url = https://github.com/sarnold/ymltoxml
author = Stephen Arnold
author_email = [email protected]
description = Asynchronous MAVLink connection library.
long_description = file: README.rst
long_description_content_type = text/rst; charset=UTF-8
license = GPLv2
license_expression = LGPL-2.1-or-later
license_files = LICENSE
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
Intended Audience :: Developers
Programming Language :: Python
Environment :: Console
Expand Down
6 changes: 2 additions & 4 deletions src/ymltoxml/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
"""
Command-line tool for bidirectional transformation of YAML and XML files.
"""
from ._version import __version__

version = __version__
__description__ = "Console tool for bidirectional transformation of YAML and XML files."

__all__ = ["__version__", "version"]
__all__ = ["__description__", "__version__", "version"]
2 changes: 1 addition & 1 deletion src/ymltoxml/ymltoxml.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# available in the accompanying LICENSE file.

"""
Converts YAML to XML and XML to YAML.
Transform YAML to XML and XML to YAML.
"""

import os
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ commands =
ymltoxml out.yaml
bash -c 'diff -u in.xml out.xml || true'
ymltoxml --version
ymltoxml out.txt
ymltoxml --dump-config
ymltoxml out.txt

[testenv:clean]
allowlist_externals =
Expand Down

0 comments on commit 1dd0e2d

Please sign in to comment.