Skip to content

Commit

Permalink
Merge pull request #66 from vroncevic/dev
Browse files Browse the repository at this point in the history
[gen_stm32] Updated code coverage, docs
  • Loading branch information
vroncevic authored Jun 13, 2024
2 parents f3b70d3 + 6b63e00 commit cf19959
Show file tree
Hide file tree
Showing 37 changed files with 45 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[**.py]
indent_style = tab
tab_width = 4
tab_width = 4
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/gen_stm32_feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ assignees: vroncevic

---


2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__pycache__/
*.py[cod]
*$py.class
*$py.class
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ build:
tools:
python: "3.11"
sphinx:
configuration: docs/source/conf.py
configuration: docs/source/conf.py
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"__pycache__": true,
"**/__pycache__": true
}
}
}
11 changes: 10 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,16 @@ RUN DEBIAN_FRONTEND=noninteractive \
unzip \
ca-certificates \
openssl \
libyaml-dev
libyaml-dev \
build-essential \
gcc-arm-none-eabi \
gdb-multiarch \
libtool \
pkg-config \
autoconf \
automake \
texinfo \
libusb-1.0-0-dev

RUN wget https://bootstrap.pypa.io/get-pip.py
RUN python3 get-pip.py
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -671,4 +671,4 @@ into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
<https://www.gnu.org/licenses/why-not-lgpl.html>.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
global-exclude *.py[cod]
global-exclude *.editorconfig
global-exclude *.editorconfig
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ You can use Dockerfile to create image/container.

### Dependencies

This module requires these other modules and libraries
**gen_stm32** requires these other modules and libraries

* ats_utilities https://vroncevic.github.io/ats_utilities

Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ theme: jekyll-theme-cayman
markdown: kramdown
safe: true
kramdown:
parse_block_html: true
parse_block_html: true
2 changes: 1 addition & 1 deletion docs/.editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[**.*]
indent_style = tab
tab_width = 4
tab_width = 4
Binary file modified docs/build/doctrees/environment.pickle
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/build/html/_modules/gen_stm32.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h1>Source code for gen_stm32</h1><div class="highlight"><pre>
<span class="n">__copyright__</span> <span class="o">=</span> <span class="s1">&#39;(C) 2024, https://vroncevic.github.io/gen_stm32&#39;</span>
<span class="n">__credits__</span><span class="p">:</span> <span class="n">List</span><span class="p">[</span><span class="nb">str</span><span class="p">]</span> <span class="o">=</span> <span class="p">[</span><span class="s1">&#39;Vladimir Roncevic&#39;</span><span class="p">,</span> <span class="s1">&#39;Python Software Foundation&#39;</span><span class="p">]</span>
<span class="n">__license__</span> <span class="o">=</span> <span class="s1">&#39;https://github.com/vroncevic/gen_stm32/blob/dev/LICENSE&#39;</span>
<span class="n">__version__</span> <span class="o">=</span> <span class="s1">&#39;1.2.2&#39;</span>
<span class="n">__version__</span> <span class="o">=</span> <span class="s1">&#39;1.2.3&#39;</span>
<span class="n">__maintainer__</span> <span class="o">=</span> <span class="s1">&#39;Vladimir Roncevic&#39;</span>
<span class="n">__email__</span> <span class="o">=</span> <span class="s1">&#39;elektron.ronca@gmail.com&#39;</span>
<span class="n">__status__</span> <span class="o">=</span> <span class="s1">&#39;Updated&#39;</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/_modules/gen_stm32/pro.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h1>Source code for gen_stm32.pro</h1><div class="highlight"><pre>
<span class="n">__copyright__</span> <span class="o">=</span> <span class="s1">&#39;(C) 2024, https://vroncevic.github.io/gen_stm32&#39;</span>
<span class="n">__credits__</span><span class="p">:</span> <span class="n">List</span><span class="p">[</span><span class="nb">str</span><span class="p">]</span> <span class="o">=</span> <span class="p">[</span><span class="s1">&#39;Vladimir Roncevic&#39;</span><span class="p">,</span> <span class="s1">&#39;Python Software Foundation&#39;</span><span class="p">]</span>
<span class="n">__license__</span> <span class="o">=</span> <span class="s1">&#39;https://github.com/vroncevic/gen_stm32/blob/dev/LICENSE&#39;</span>
<span class="n">__version__</span> <span class="o">=</span> <span class="s1">&#39;1.2.2&#39;</span>
<span class="n">__version__</span> <span class="o">=</span> <span class="s1">&#39;1.2.3&#39;</span>
<span class="n">__maintainer__</span> <span class="o">=</span> <span class="s1">&#39;Vladimir Roncevic&#39;</span>
<span class="n">__email__</span> <span class="o">=</span> <span class="s1">&#39;elektron.ronca@gmail.com&#39;</span>
<span class="n">__status__</span> <span class="o">=</span> <span class="s1">&#39;Updated&#39;</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/_modules/gen_stm32/pro/read_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h1>Source code for gen_stm32.pro.read_template</h1><div class="highlight"><pre>
<span class="n">__copyright__</span> <span class="o">=</span> <span class="s1">&#39;(C) 2024, https://vroncevic.github.io/gen_stm32&#39;</span>
<span class="n">__credits__</span><span class="p">:</span> <span class="n">List</span><span class="p">[</span><span class="nb">str</span><span class="p">]</span> <span class="o">=</span> <span class="p">[</span><span class="s1">&#39;Vladimir Roncevic&#39;</span><span class="p">,</span> <span class="s1">&#39;Python Software Foundation&#39;</span><span class="p">]</span>
<span class="n">__license__</span> <span class="o">=</span> <span class="s1">&#39;https://github.com/vroncevic/gen_stm32/blob/dev/LICENSE&#39;</span>
<span class="n">__version__</span> <span class="o">=</span> <span class="s1">&#39;1.2.2&#39;</span>
<span class="n">__version__</span> <span class="o">=</span> <span class="s1">&#39;1.2.3&#39;</span>
<span class="n">__maintainer__</span> <span class="o">=</span> <span class="s1">&#39;Vladimir Roncevic&#39;</span>
<span class="n">__email__</span> <span class="o">=</span> <span class="s1">&#39;elektron.ronca@gmail.com&#39;</span>
<span class="n">__status__</span> <span class="o">=</span> <span class="s1">&#39;Updated&#39;</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/_modules/gen_stm32/pro/write_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h1>Source code for gen_stm32.pro.write_template</h1><div class="highlight"><pre
<span class="n">__copyright__</span> <span class="o">=</span> <span class="s1">&#39;(C) 2024, https://vroncevic.github.io/gen_stm32&#39;</span>
<span class="n">__credits__</span><span class="p">:</span> <span class="n">List</span><span class="p">[</span><span class="nb">str</span><span class="p">]</span> <span class="o">=</span> <span class="p">[</span><span class="s1">&#39;Vladimir Roncevic&#39;</span><span class="p">,</span> <span class="s1">&#39;Python Software Foundation&#39;</span><span class="p">]</span>
<span class="n">__license__</span> <span class="o">=</span> <span class="s1">&#39;https://github.com/vroncevic/gen_stm32/blob/dev/LICENSE&#39;</span>
<span class="n">__version__</span> <span class="o">=</span> <span class="s1">&#39;1.2.2&#39;</span>
<span class="n">__version__</span> <span class="o">=</span> <span class="s1">&#39;1.2.3&#39;</span>
<span class="n">__maintainer__</span> <span class="o">=</span> <span class="s1">&#39;Vladimir Roncevic&#39;</span>
<span class="n">__email__</span> <span class="o">=</span> <span class="s1">&#39;elektron.ronca@gmail.com&#39;</span>
<span class="n">__status__</span> <span class="o">=</span> <span class="s1">&#39;Updated&#39;</span>
Expand Down
Binary file modified docs/build/html/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
project: str = 'gen_stm32'
project_copyright: str = '2024, Vladimir Roncevic <elektron.ronca@gmail.com>'
author: str = 'Vladimir Roncevic <elektron.ronca@gmail.com>'
version: str = '1.2.2'
version: str = '1.2.3'
release: str = 'https://github.com/vroncevic/gen_stm32/releases'
extensions: List[str] = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode']
templates_path: List[str] = ['_templates']
Expand Down
2 changes: 1 addition & 1 deletion gen-stm32.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
"settings": {
"makefile.extensionOutputFolder": "./.vscode"
}
}
}
2 changes: 1 addition & 1 deletion gen_stm32/.editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[**.py]
indent_style = tab
tab_width = 4
tab_width = 4
2 changes: 1 addition & 1 deletion gen_stm32/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
__copyright__ = '(C) 2024, https://vroncevic.github.io/gen_stm32'
__credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
__license__ = 'https://github.com/vroncevic/gen_stm32/blob/dev/LICENSE'
__version__ = '1.2.2'
__version__ = '1.2.3'
__maintainer__ = 'Vladimir Roncevic'
__email__ = 'elektron.ronca@gmail.com'
__status__ = 'Updated'
Expand Down
2 changes: 1 addition & 1 deletion gen_stm32/conf/gen_stm32.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ats_name = gen_stm32
ats_version = 1.2.2
ats_version = 1.2.3
ats_build_date = 26 May 2021
ats_licence = https://github.com/vroncevic/gen_stm32/blob/dev/LICENSE
4 changes: 2 additions & 2 deletions gen_stm32/log/gen_stm32.log
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
06/13/2024 09:30:48 PM - INFO - generation project latest done
06/13/2024 09:30:50 PM - ERROR - tool is not operational
06/13/2024 10:18:22 PM - INFO - generation project latest done
06/13/2024 10:18:24 PM - ERROR - tool is not operational
2 changes: 1 addition & 1 deletion gen_stm32/pro/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
__copyright__ = '(C) 2024, https://vroncevic.github.io/gen_stm32'
__credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
__license__ = 'https://github.com/vroncevic/gen_stm32/blob/dev/LICENSE'
__version__ = '1.2.2'
__version__ = '1.2.3'
__maintainer__ = 'Vladimir Roncevic'
__email__ = 'elektron.ronca@gmail.com'
__status__ = 'Updated'
Expand Down
2 changes: 1 addition & 1 deletion gen_stm32/pro/read_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
__copyright__ = '(C) 2024, https://vroncevic.github.io/gen_stm32'
__credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
__license__ = 'https://github.com/vroncevic/gen_stm32/blob/dev/LICENSE'
__version__ = '1.2.2'
__version__ = '1.2.3'
__maintainer__ = 'Vladimir Roncevic'
__email__ = 'elektron.ronca@gmail.com'
__status__ = 'Updated'
Expand Down
2 changes: 1 addition & 1 deletion gen_stm32/pro/write_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
__copyright__ = '(C) 2024, https://vroncevic.github.io/gen_stm32'
__credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
__license__ = 'https://github.com/vroncevic/gen_stm32/blob/dev/LICENSE'
__version__ = '1.2.2'
__version__ = '1.2.3'
__maintainer__ = 'Vladimir Roncevic'
__email__ = 'elektron.ronca@gmail.com'
__status__ = 'Updated'
Expand Down
2 changes: 1 addition & 1 deletion gen_stm32/run/gen_stm32_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
__copyright__ = '(C) 2024, https://vroncevic.github.io/gen_stm32'
__credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
__license__ = 'https://github.com/vroncevic/gen_stm32/blob/dev/LICENSE'
__version__ = '1.2.2'
__version__ = '1.2.3'
__maintainer__ = 'Vladimir Roncevic'
__email__ = 'elektron.ronca@gmail.com'
__status__ = 'Updated'
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ats-utilities
ats-utilities
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

[metadata]
name = gen_stm32
version = 1.2.2
version = 1.2.3
author = Vladimir Roncevic
author_email = elektron.ronca@gmail.com
description = STM32 Code Generator
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
__copyright__ = '(C) 2024, https://vroncevic.github.io/gen_stm32'
__credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
__license__ = 'https://github.com/vroncevic/gen_stm32/blob/dev/LICENSE'
__version__ = '1.2.2'
__version__ = '1.2.3'
__maintainer__ = 'Vladimir Roncevic'
__email__ = 'elektron.ronca@gmail.com'
__status__ = 'Updated'
Expand Down Expand Up @@ -69,7 +69,7 @@
PYP_CLASSIFIERS: List[str] = SUPPORTED_PY_VERSIONS + APPROVED_LICENSES
setup(
name='gen_stm32',
version='1.2.2',
version='1.2.3',
description='STM32 project skeleton generator',
author='Vladimir Roncevic',
author_email='elektron.ronca@gmail.com',
Expand Down
2 changes: 1 addition & 1 deletion tests/.editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[**.{py,cfg,log,template}]
indent_style = tab
tab_width = 4
tab_width = 4
2 changes: 1 addition & 1 deletion tests/gen_stm32_setup_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
__copyright__ = '(C) 2024, https://vroncevic.github.io/gen_stm8'
__credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
__license__ = 'https://github.com/vroncevic/gen_stm8/blob/dev/LICENSE'
__version__ = '1.2.2'
__version__ = '1.2.3'
__maintainer__ = 'Vladimir Roncevic'
__email__ = 'elektron.ronca@gmail.com'
__status__ = 'Updated'
Expand Down
2 changes: 1 addition & 1 deletion tests/gen_stm32_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
__copyright__ = '(C) 2024, https://vroncevic.github.io/gen_stm8'
__credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
__license__ = 'https://github.com/vroncevic/gen_stm8/blob/dev/LICENSE'
__version__ = '1.2.2'
__version__ = '1.2.3'
__maintainer__ = 'Vladimir Roncevic'
__email__ = 'elektron.ronca@gmail.com'
__status__ = 'Updated'
Expand Down
2 changes: 1 addition & 1 deletion tests/read_template_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
__copyright__ = '(C) 2024, https://vroncevic.github.io/gen_stm8'
__credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
__license__ = 'https://github.com/vroncevic/gen_stm8/blob/dev/LICENSE'
__version__ = '1.2.2'
__version__ = '1.2.3'
__maintainer__ = 'Vladimir Roncevic'
__email__ = 'elektron.ronca@gmail.com'
__status__ = 'Updated'
Expand Down
2 changes: 1 addition & 1 deletion tests/run_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@

rm -rf new_simple_test/ full_simple/ latest/
python3 -m coverage run -m --source=../gen_stm32 unittest discover -s ./ -p '*_test.py' -vvv
python3 -m coverage html
python3 -m coverage html
2 changes: 1 addition & 1 deletion tests/write_template_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
__copyright__ = '(C) 2024, https://vroncevic.github.io/gen_stm8'
__credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
__license__ = 'https://github.com/vroncevic/gen_stm8/blob/dev/LICENSE'
__version__ = '1.2.2'
__version__ = '1.2.3'
__maintainer__ = 'Vladimir Roncevic'
__email__ = 'elektron.ronca@gmail.com'
__status__ = 'Updated'
Expand Down

0 comments on commit cf19959

Please sign in to comment.