[+] update pr34

1. update katerc;
  2. add mime.types to few some source code
    as plain text in firefox;
  3. update .whl release for pr34;
  4. update commands_typed/typing.py;
This commit is contained in:
Siarhei Siniak 2025-03-18 09:59:44 +03:00
parent c1e598b3ab
commit b399c5546c
8 changed files with 64 additions and 10 deletions

@ -84,6 +84,7 @@ dotfiles_put:
dotfiles_fetch:
commands install -f -p ~ -s ~/.config/katerc -t dotfiles
commands install -f -p ~ -s ~/.mime.types -t dotfiles
commands install -f -p ~ -s ~/.config/Code\ -\ OSS/User/keybindings.json -t dotfiles
commands install -f -p ~ -s ~/.config/Code\ -\ OSS/User/settings.json -t dotfiles

@ -1 +1 @@
Subproject commit adef10a8c41f5c550622879370a40f8a9e545574
Subproject commit 2f4edccebb7c61b2d3ba390dabdb1ac0ef54ec20

@ -1 +1 @@
Subproject commit 41006e6e73c710c0b78d1fbb37b149579dad34f0
Subproject commit f2366f328fb8129fa6ae26d00b421025d2f090c7

@ -35,10 +35,10 @@ Restore Window Configuration=true
SDI Mode=false
Save Meta Infos=false
Session Manager Sort Column=0
Session Manager Sort Order=0
Session Manager Sort Order=1
Show Full Path in Title=true
Show Menu Bar=true
Show Status Bar=false
Show Status Bar=true
Show Symbol In Navigation Bar=true
Show Tab Bar=true
Show Tabs Close Button=true
@ -92,7 +92,7 @@ Swap Directory=
Swap File Mode=1
Swap Sync Interval=15
Tab Handling=2
Tab Width=4
Tab Width=2
Trailing Marker Size=1
Use Editor Config=true
Word Wrap=false
@ -101,13 +101,13 @@ Word Wrap Column=80
[KTextEditor Renderer]
Animate Bracket Matching=false
Auto Color Theme Selection=false
Color Theme=Monokai
Color Theme=Monokai2
Line Height Multiplier=1
Show Indentation Lines=false
Show Whole Bracket Expression=false
Text Font=Terminus,11,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
Text Font Features=
Word Wrap Marker=false
Word Wrap Marker=true
[KTextEditor View]
Allow Mark Menu=true
@ -119,6 +119,7 @@ Backspace Remove Composed Characters=false
Bookmark Menu Sorting=0
Bracket Match Preview=true
Chars To Enclose Selection=<>(){}[]'"
Cycle Through Bookmarks=true
Default Mark Type=1
Dynamic Word Wrap=true
Dynamic Word Wrap Align Indent=80
@ -180,8 +181,17 @@ SetEditor=false
[MainWindow]
1366x768 screen: Window-Maximized=true
2 screens: Height=727
2 screens: Width=679
2048x1080 screen: Window-Maximized=true
ToolBarsMovable=Disabled
[PluginSymbolViewer]
ExpandTree=false
SortSymbols=false
TreeView=false
ViewTypes=false
[Printing][HeaderFooter]
FooterBackground=211,211,211
FooterBackgroundEnabled=false
@ -238,10 +248,10 @@ sortRole=0
viewShade=211,190,222
[lspclient]
AllowedServerCommandLines=/usr/bin/pylsp --check-parent-process
AllowedServerCommandLines=/usr/bin/clangd -log=error --background-index --limit-results=500 --completion-style=bundled,/usr/bin/pylsp --check-parent-process
AutoHover=true
AutoImport=true
BlockedServerCommandLines=
BlockedServerCommandLines=/usr/bin/python -m esbonio
CompletionDocumentation=true
CompletionParens=true
Diagnostics=true
@ -259,3 +269,14 @@ SymbolExpand=true
SymbolSort=false
SymbolTree=true
TypeFormatting=false
[project]
autoCMake=false
autorepository=git
gitStatusDoubleClick=3
gitStatusSingleClick=0
index=false
indexDirectory=
multiProjectCompletion=false
multiProjectGoto=false
restoreProjectsForSessions=false

2
dotfiles/.mime.types Normal file

@ -0,0 +1,2 @@
# https://terminalroot.com/how-to-open-markdown-files-with-md-extension-in-firefox/
text/plain txt asc text pm el c h cc hh cxx hxx f90 conf log yaml yml

@ -0,0 +1,27 @@
# https://github.com/python/typing/issues/59#issuecomment-353878355
# https://gitea.fxreader.online/fxreader.online/freelance-project-34-marketing-blog/issues/2#issue-25
import typing
from typing import Any
from typing_extensions import Protocol
from abc import abstractmethod
C = typing.TypeVar("C", bound="Comparable")
class Comparable(Protocol):
@abstractmethod
def __eq__(self, other: Any) -> bool:
pass
@abstractmethod
def __lt__(self: C, other: C) -> bool:
pass
def __gt__(self: C, other: C) -> bool:
return (not self < other) and self != other
def __le__(self: C, other: C) -> bool:
return self < other or self == other
def __ge__(self: C, other: C) -> bool:
return (not self < other)

@ -1,6 +1,6 @@
[project]
name = 'online.fxreader.pr34'
version = '0.1.4.17'
version = '0.1.4.18'
dependencies = [
#"-r requirements.txt",

BIN
releases/whl/online_fxreader_pr34-0.1.4.18-py3-none-any.whl (Stored with Git LFS) Normal file

Binary file not shown.