Skip to content

Commit 7edfdc1

Browse files
authored
Merge pull request #8 from mutating/develop
0.0.5
2 parents 03f9896 + 6f28643 commit 7edfdc1

4 files changed

Lines changed: 85 additions & 40 deletions

File tree

.github/ISSUE_TEMPLATE/question.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Question or consultation
33
about: Ask anything about this project
44
title: ''
5-
labels: guestion
5+
labels: question
66
assignees: pomponchik
77

88
---

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33

44
[![Downloads](https://static.pepy.tech/badge/metacode/month)](https://pepy.tech/project/metacode)
55
[![Downloads](https://static.pepy.tech/badge/metacode)](https://pepy.tech/project/metacode)
6-
[![Coverage Status](https://coveralls.io/repos/github/pomponchik/metacode/badge.svg?branch=main)](https://coveralls.io/github/pomponchik/metacode?branch=main)
7-
[![Lines of code](https://sloc.xyz/github/pomponchik/metacode/?category=code)](https://github.com/boyter/scc/)
8-
[![Hits-of-Code](https://hitsofcode.com/github/pomponchik/metacode?branch=main&label=Hits-of-Code&exclude=docs/)](https://hitsofcode.com/github/pomponchik/metacode/view?branch=main)
9-
[![Test-Package](https://github.com/pomponchik/metacode/actions/workflows/tests_and_coverage.yml/badge.svg)](https://github.com/pomponchik/metacode/actions/workflows/tests_and_coverage.yml)
6+
[![Coverage Status](https://coveralls.io/repos/github/mutating/metacode/badge.svg?branch=main)](https://coveralls.io/github/mutating/metacode?branch=main)
7+
[![Lines of code](https://sloc.xyz/github/mutating/metacode/?category=code)](https://github.com/boyter/scc/)
8+
[![Hits-of-Code](https://hitsofcode.com/github/mutating/metacode?branch=main&label=Hits-of-Code&exclude=docs/)](https://hitsofcode.com/github/mutating/metacode/view?branch=main)
9+
[![Test-Package](https://github.com/mutating/metacode/actions/workflows/tests_and_coverage.yml/badge.svg)](https://github.com/mutating/metacode/actions/workflows/tests_and_coverage.yml)
1010
[![Python versions](https://img.shields.io/pypi/pyversions/metacode.svg)](https://pypi.python.org/pypi/metacode)
1111
[![PyPI version](https://badge.fury.io/py/metacode.svg)](https://badge.fury.io/py/metacode)
1212
[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
1313
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
14-
[![DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/pomponchik/metacode)
14+
[![DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/mutating/metacode)
1515

1616
</details>
1717

1818

19-
![logo](https://raw.githubusercontent.com/pomponchik/metacode/develop/docs/assets/logo_3.svg)
19+
![logo](https://raw.githubusercontent.com/mutating/metacode/develop/docs/assets/logo_3.svg)
2020

2121
Many source code analysis tools use comments in a special format to mark it up. This is an important part of the Python ecosystem, but there is still no single standard around it. This library offers such a standard.
2222

@@ -169,7 +169,7 @@ Well, now we can read the comments. But what if we want to record? There is anot
169169
from metacode import insert, ParsedComment
170170
```
171171

172-
You send the comment you want to insert there, as well as the current comment (empty if there is no comment, or starting with # if there is), and you get a ready-made new comment text:
172+
You send the comment you want to insert there, as well as the current comment (empty if there is no comment, or starting with `#` if there is), and you get a ready-made new comment text:
173173

174174
```python
175175
print(insert(ParsedComment(key='key', command='command', arguments=['lol', 'lol-kek']), ''))
@@ -218,4 +218,4 @@ number_literal ::= ? python-style number ?
218218
complex_literal ::= ? python-style complex number ?
219219
```
220220

221-
If you suddenly implement your ready-made open-source parser of this grammar in a language other than Python, please [let me know](https://github.com/pomponchik/metacode/issues). This information can be added to this text.
221+
If you suddenly implement your ready-made open-source parser of this grammar in a language other than Python, please [let me know](https://github.com/mutating/metacode/issues). This information can be added to this text.

docs/assets/logo_3.svg

Lines changed: 67 additions & 26 deletions
Loading

pyproject.toml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "metacode"
7-
version = "0.0.4"
7+
version = "0.0.5"
88
authors = [{ name = "Evgeniy Blinov", email = "zheni-b@yandex.ru" }]
99
description = 'A standard language for machine-readable code comments'
1010
readme = "README.md"
1111
requires-python = ">=3.8"
12-
dependencies = ["libcst>=1.1.0 ; python_version == '3.8'", "libcst>=1.8.6 ; python_version > '3.8'", "typing_extensions ; python_version <= '3.9'"]
12+
dependencies = [
13+
"libcst>=1.1.0 ; python_version == '3.8'",
14+
"libcst>=1.8.6 ; python_version > '3.8'",
15+
"typing_extensions ; python_version <= '3.9'",
16+
]
1317
classifiers = [
1418
"Operating System :: OS Independent",
1519
'Operating System :: MacOS :: MacOS X',
@@ -30,7 +34,7 @@ classifiers = [
3034
'Intended Audience :: Developers',
3135
'Topic :: Software Development :: Libraries',
3236
]
33-
keywords = ['CST', 'comments', 'type comments', 'lints']
37+
keywords = ['CST', 'AST', 'comments', 'type comments', 'lints', 'DSL']
3438

3539
[tool.setuptools.package-data]
3640
"metacode" = ["py.typed"]
@@ -48,5 +52,5 @@ lint.select = ["ERA001", "YTT", "ASYNC", "BLE", "B", "A", "COM", "INP", "PIE", "
4852
format.quote-style = "single"
4953

5054
[project.urls]
51-
'Source' = 'https://github.com/pomponchik/metacode'
52-
'Tracker' = 'https://github.com/pomponchik/metacode/issues'
55+
'Source' = 'https://github.com/mutating/metacode'
56+
'Tracker' = 'https://github.com/mutating/metacode/issues'

0 commit comments

Comments
 (0)