Giter Club home page Giter Club logo

rozental_as_a_service's People

Contributors

arkuz avatar korneevm avatar lerikp avatar melevir avatar sergey-jerzy avatar simonosipov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rozental_as_a_service's Issues

Склеивание слов, разделённых символом новой строки.

Исходный файл test.md

Добрый
день

Результат rozental test.md:

Найденное слово    Возможные исправления
-----------------  ------------------------------------
добрыйдень         добрый день, добрыдень, добррый день

Ожидаемое поведение:
Слова на разных строчках склеивать через пробел перед проверкой.

После установки, библиотека, без доступа в интернет, не работает

на mac os после установки версии (1.2.1) , ей нельзя воспользоваться, она не работает "из коробки", пример ошибки:

% rozental README.md 
Traceback (most recent call last):
  File "/dev/env_code_style/bin/rozental", line 8, in <module>
    sys.exit(main())
  File "/dev/env_code_style/lib/python3.8/site-packages/rozental_as_a_service/rozental.py", line 176, in main
    ('autocorrect', AutocorrectCheckerBackend()),
  File "/dev/env_code_style/lib/python3.8/site-packages/rozental_as_a_service/typos_backends.py", line 123, in __init__
    with closing(tarfile.open(archive_path, 'r:gz')) as tarf, closing(tarf.extractfile('word_count.json')) as file:
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/tarfile.py", line 1621, in open
    return func(name, filemode, fileobj, **kwargs)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/tarfile.py", line 1667, in gzopen
    fileobj = GzipFile(name, mode + "b", compresslevel, fileobj)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/gzip.py", line 173, in __init__
    fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/dev/env_code_style/lib/python3.8/site-packages/rozental_as_a_service/data/ru.tar.gz'

Add failsafe mode

Если спеллер пятисотит/таймаутит/что-то ещё, Розенталь должен заканчивьта работу без ошибок, будто бы всё хорошо, но должен принтить ворнинги.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.