🔨 code refactoring and 📚 update change log
This commit is contained in:
parent
0ab0a1a50a
commit
88b2c03899
|
@ -1,6 +1,7 @@
|
|||
[settings]
|
||||
line_length=79
|
||||
known_first_party=
|
||||
known_third_party=mock,nose
|
||||
indent=' '
|
||||
multi_line_output=3
|
||||
length_sort=1
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
requires:
|
||||
- type: git
|
||||
url: https://github.com/moremoban/pypi-mobans
|
||||
submodule: true
|
||||
configuration:
|
||||
template_dir:
|
||||
- "setupmobans/templates"
|
||||
- "pypi-mobans:templates"
|
||||
- ".moban.d"
|
||||
configuration: lml.yml
|
||||
targets:
|
||||
|
|
|
@ -1,6 +1,15 @@
|
|||
Change log
|
||||
================================================================================
|
||||
|
||||
0.0.5 - unreleased
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Fixed
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
#. `#6 <https://github.com/chfw/lml/issues/6>`_: Catch and Ignore
|
||||
ModuleNotFoundError
|
||||
|
||||
0.0.4 - 07.08.2018
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
name: lml
|
||||
organisation: chfw
|
||||
releases:
|
||||
- changes:
|
||||
- action: Fixed
|
||||
details:
|
||||
- "`#6`: Catch and Ignore ModuleNotFoundError"
|
||||
date: unreleased
|
||||
version: 0.0.5
|
||||
- changes:
|
||||
- action: Added
|
||||
details:
|
||||
|
|
|
@ -42,12 +42,7 @@ release = u'0.0.4'
|
|||
# Add any Sphinx extension module names here, as strings. They can be
|
||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||
# ones.
|
||||
extensions = [
|
||||
'sphinx.ext.autodoc',
|
||||
'sphinx.ext.doctest',
|
||||
'sphinx.ext.intersphinx',
|
||||
'sphinx.ext.viewcode',
|
||||
]
|
||||
extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.viewcode',]
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
|
@ -74,7 +69,7 @@ language = 'en'
|
|||
exclude_patterns = []
|
||||
|
||||
# The name of the Pygments (syntax highlighting) style to use.
|
||||
pygments_style = 'sphinx'
|
||||
pygments_style = None
|
||||
|
||||
|
||||
# -- Options for HTML output -------------------------------------------------
|
||||
|
@ -162,6 +157,24 @@ texinfo_documents = [
|
|||
'Miscellaneous'),
|
||||
]
|
||||
|
||||
|
||||
# -- Options for Epub output -------------------------------------------------
|
||||
|
||||
# Bibliographic Dublin Core info.
|
||||
epub_title = project
|
||||
|
||||
# The unique identifier of the text. This can be a ISBN number
|
||||
# or the project homepage.
|
||||
#
|
||||
# epub_identifier = ''
|
||||
|
||||
# A unique identification for the text.
|
||||
#
|
||||
# epub_uid = ''
|
||||
|
||||
# A list of files that should not be packed into the epub file.
|
||||
epub_exclude_files = ['search.html']
|
||||
|
||||
# -- Extension configuration -------------------------------------------------
|
||||
# -- Options for intersphinx extension ---------------------------------------
|
||||
|
||||
|
|
|
@ -2,9 +2,10 @@ import sys
|
|||
import logging
|
||||
import logging.config
|
||||
|
||||
from lml.loader import scan_plugins
|
||||
from robotchef.plugin import CuisineManager, NoChefException
|
||||
|
||||
from lml.loader import scan_plugins
|
||||
|
||||
logging.basicConfig(
|
||||
format="%(name)s:%(lineno)d - %(levelname)s - %(message)s",
|
||||
level=logging.DEBUG,
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
from lml.loader import scan_plugins
|
||||
from robotchef_api.plugin import ( # noqa: F401
|
||||
CuisineManager,
|
||||
NoChefException,
|
||||
)
|
||||
from robotchef_api.plugin import CuisineManager, NoChefException # noqa: F401
|
||||
|
||||
|
||||
BUILTINS = ["robotchef_api.robot_cuisine"]
|
||||
|
|
2
setup.py
2
setup.py
|
@ -23,7 +23,7 @@ URL = 'https://github.com/chfw/lml'
|
|||
DOWNLOAD_URL = '%s/archive/0.0.4.tar.gz' % URL
|
||||
FILES = ['README.rst', 'CHANGELOG.rst']
|
||||
KEYWORDS = [
|
||||
'python'
|
||||
'python',
|
||||
]
|
||||
|
||||
CLASSIFIERS = [
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import json
|
||||
|
||||
from lml.plugin import PluginInfo
|
||||
|
||||
from nose.tools import eq_
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
from mock import patch
|
||||
from lml.plugin import (
|
||||
PLUG_IN_MANAGERS,
|
||||
CACHED_PLUGIN_INFO,
|
||||
|
@ -5,8 +6,6 @@ from lml.plugin import (
|
|||
PluginManager,
|
||||
_show_me_your_name,
|
||||
)
|
||||
|
||||
from mock import patch
|
||||
from nose.tools import eq_, raises
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
from mock import patch
|
||||
from lml.utils import do_import, json_dumps
|
||||
from lml.plugin import PluginManager
|
||||
|
||||
from mock import patch
|
||||
from nose.tools import eq_
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue