Bläddra i källkod

Version bump for 0.4.1

main
Ben Kurtovic 2 månader sedan
förälder
incheckning
f5a6ff0b32
5 ändrade filer med 15 tillägg och 6 borttagningar
  1. +4
    -0
      CHANGELOG
  2. +2
    -2
      docs/conf.py
  3. +2
    -2
      docs/index.rst
  4. +1
    -1
      src/earwigbot/__init__.py
  5. +6
    -1
      src/earwigbot/wiki/copyvios/__init__.py

+ 4
- 0
CHANGELOG Visa fil

@@ -1,3 +1,7 @@
v0.4.1 (unreleased):

- Various bugfixes

v0.4 (released August 28, 2024): v0.4 (released August 28, 2024):


- Migrated to Python 3 (3.11+). Substantial code cleanup. - Migrated to Python 3 (3.11+). Substantial code cleanup.


+ 2
- 2
docs/conf.py Visa fil

@@ -47,9 +47,9 @@ copyright = "2009-2016 Ben Kurtovic"
# built documents. # built documents.
# #
# The short X.Y version. # The short X.Y version.
version = "0.4"
version = "0.4.1"
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = "0.4"
release = "0.4.1.dev0"


# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.


+ 2
- 2
docs/index.rst Visa fil

@@ -1,5 +1,5 @@
EarwigBot v0.4 Documentation
============================
EarwigBot v0.4.1 Documentation
==============================


EarwigBot_ is a Python bot that edits Wikipedia_ and interacts over IRC_. EarwigBot_ is a Python bot that edits Wikipedia_ and interacts over IRC_.




+ 1
- 1
src/earwigbot/__init__.py Visa fil

@@ -40,7 +40,7 @@ __all__ = [
__author__ = "Ben Kurtovic" __author__ = "Ben Kurtovic"
__copyright__ = "Copyright (C) 2009-2024 Ben Kurtovic" __copyright__ = "Copyright (C) 2009-2024 Ben Kurtovic"
__license__ = "MIT License" __license__ = "MIT License"
__version__ = "0.4"
__version__ = "0.4.1.dev0"
__email__ = "ben.kurtovic@gmail.com" __email__ = "ben.kurtovic@gmail.com"
__release__ = False __release__ = False




+ 6
- 1
src/earwigbot/wiki/copyvios/__init__.py Visa fil

@@ -18,6 +18,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE. # SOFTWARE.


from __future__ import annotations

__all__ = [ __all__ = [
"DEFAULT_DEGREE", "DEFAULT_DEGREE",
"CopyvioChecker", "CopyvioChecker",
@@ -29,6 +31,7 @@ __all__ = [
import functools import functools
import logging import logging
import time import time
import typing
from collections.abc import Callable from collections.abc import Callable


from earwigbot.wiki.copyvios.exclusions import ExclusionsDB from earwigbot.wiki.copyvios.exclusions import ExclusionsDB
@@ -37,7 +40,9 @@ from earwigbot.wiki.copyvios.parsers import ArticleParser, ParserArgs
from earwigbot.wiki.copyvios.result import CopyvioCheckResult from earwigbot.wiki.copyvios.result import CopyvioCheckResult
from earwigbot.wiki.copyvios.search import SearchEngine, get_search_engine from earwigbot.wiki.copyvios.search import SearchEngine, get_search_engine
from earwigbot.wiki.copyvios.workers import CopyvioWorkspace, globalize, localize from earwigbot.wiki.copyvios.workers import CopyvioWorkspace, globalize, localize
from earwigbot.wiki.page import Page

if typing.TYPE_CHECKING:
from earwigbot.wiki.page import Page




class CopyvioChecker: class CopyvioChecker:


Laddar…
Avbryt
Spara