[+] 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:
parent
c1e598b3ab
commit
b399c5546c
1
Makefile
1
Makefile
@ -84,6 +84,7 @@ dotfiles_put:
|
|||||||
|
|
||||||
dotfiles_fetch:
|
dotfiles_fetch:
|
||||||
commands install -f -p ~ -s ~/.config/katerc -t dotfiles
|
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/keybindings.json -t dotfiles
|
||||||
commands install -f -p ~ -s ~/.config/Code\ -\ OSS/User/settings.json -t dotfiles
|
commands install -f -p ~ -s ~/.config/Code\ -\ OSS/User/settings.json -t dotfiles
|
||||||
|
|
||||||
|
2
deps/com.github.aiortc.aiortc
vendored
2
deps/com.github.aiortc.aiortc
vendored
@ -1 +1 @@
|
|||||||
Subproject commit adef10a8c41f5c550622879370a40f8a9e545574
|
Subproject commit 2f4edccebb7c61b2d3ba390dabdb1ac0ef54ec20
|
2
deps/online.fxreader.nartes.books
vendored
2
deps/online.fxreader.nartes.books
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 41006e6e73c710c0b78d1fbb37b149579dad34f0
|
Subproject commit f2366f328fb8129fa6ae26d00b421025d2f090c7
|
@ -35,10 +35,10 @@ Restore Window Configuration=true
|
|||||||
SDI Mode=false
|
SDI Mode=false
|
||||||
Save Meta Infos=false
|
Save Meta Infos=false
|
||||||
Session Manager Sort Column=0
|
Session Manager Sort Column=0
|
||||||
Session Manager Sort Order=0
|
Session Manager Sort Order=1
|
||||||
Show Full Path in Title=true
|
Show Full Path in Title=true
|
||||||
Show Menu Bar=true
|
Show Menu Bar=true
|
||||||
Show Status Bar=false
|
Show Status Bar=true
|
||||||
Show Symbol In Navigation Bar=true
|
Show Symbol In Navigation Bar=true
|
||||||
Show Tab Bar=true
|
Show Tab Bar=true
|
||||||
Show Tabs Close Button=true
|
Show Tabs Close Button=true
|
||||||
@ -92,7 +92,7 @@ Swap Directory=
|
|||||||
Swap File Mode=1
|
Swap File Mode=1
|
||||||
Swap Sync Interval=15
|
Swap Sync Interval=15
|
||||||
Tab Handling=2
|
Tab Handling=2
|
||||||
Tab Width=4
|
Tab Width=2
|
||||||
Trailing Marker Size=1
|
Trailing Marker Size=1
|
||||||
Use Editor Config=true
|
Use Editor Config=true
|
||||||
Word Wrap=false
|
Word Wrap=false
|
||||||
@ -101,13 +101,13 @@ Word Wrap Column=80
|
|||||||
[KTextEditor Renderer]
|
[KTextEditor Renderer]
|
||||||
Animate Bracket Matching=false
|
Animate Bracket Matching=false
|
||||||
Auto Color Theme Selection=false
|
Auto Color Theme Selection=false
|
||||||
Color Theme=Monokai
|
Color Theme=Monokai2
|
||||||
Line Height Multiplier=1
|
Line Height Multiplier=1
|
||||||
Show Indentation Lines=false
|
Show Indentation Lines=false
|
||||||
Show Whole Bracket Expression=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=Terminus,11,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
|
||||||
Text Font Features=
|
Text Font Features=
|
||||||
Word Wrap Marker=false
|
Word Wrap Marker=true
|
||||||
|
|
||||||
[KTextEditor View]
|
[KTextEditor View]
|
||||||
Allow Mark Menu=true
|
Allow Mark Menu=true
|
||||||
@ -119,6 +119,7 @@ Backspace Remove Composed Characters=false
|
|||||||
Bookmark Menu Sorting=0
|
Bookmark Menu Sorting=0
|
||||||
Bracket Match Preview=true
|
Bracket Match Preview=true
|
||||||
Chars To Enclose Selection=<>(){}[]'"
|
Chars To Enclose Selection=<>(){}[]'"
|
||||||
|
Cycle Through Bookmarks=true
|
||||||
Default Mark Type=1
|
Default Mark Type=1
|
||||||
Dynamic Word Wrap=true
|
Dynamic Word Wrap=true
|
||||||
Dynamic Word Wrap Align Indent=80
|
Dynamic Word Wrap Align Indent=80
|
||||||
@ -180,8 +181,17 @@ SetEditor=false
|
|||||||
|
|
||||||
[MainWindow]
|
[MainWindow]
|
||||||
1366x768 screen: Window-Maximized=true
|
1366x768 screen: Window-Maximized=true
|
||||||
|
2 screens: Height=727
|
||||||
|
2 screens: Width=679
|
||||||
|
2048x1080 screen: Window-Maximized=true
|
||||||
ToolBarsMovable=Disabled
|
ToolBarsMovable=Disabled
|
||||||
|
|
||||||
|
[PluginSymbolViewer]
|
||||||
|
ExpandTree=false
|
||||||
|
SortSymbols=false
|
||||||
|
TreeView=false
|
||||||
|
ViewTypes=false
|
||||||
|
|
||||||
[Printing][HeaderFooter]
|
[Printing][HeaderFooter]
|
||||||
FooterBackground=211,211,211
|
FooterBackground=211,211,211
|
||||||
FooterBackgroundEnabled=false
|
FooterBackgroundEnabled=false
|
||||||
@ -238,10 +248,10 @@ sortRole=0
|
|||||||
viewShade=211,190,222
|
viewShade=211,190,222
|
||||||
|
|
||||||
[lspclient]
|
[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
|
AutoHover=true
|
||||||
AutoImport=true
|
AutoImport=true
|
||||||
BlockedServerCommandLines=
|
BlockedServerCommandLines=/usr/bin/python -m esbonio
|
||||||
CompletionDocumentation=true
|
CompletionDocumentation=true
|
||||||
CompletionParens=true
|
CompletionParens=true
|
||||||
Diagnostics=true
|
Diagnostics=true
|
||||||
@ -259,3 +269,14 @@ SymbolExpand=true
|
|||||||
SymbolSort=false
|
SymbolSort=false
|
||||||
SymbolTree=true
|
SymbolTree=true
|
||||||
TypeFormatting=false
|
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
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
|
27
python/online/fxreader/pr34/commands_typed/typing.py
Normal file
27
python/online/fxreader/pr34/commands_typed/typing.py
Normal file
@ -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]
|
[project]
|
||||||
name = 'online.fxreader.pr34'
|
name = 'online.fxreader.pr34'
|
||||||
version = '0.1.4.17'
|
version = '0.1.4.18'
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
#"-r requirements.txt",
|
#"-r requirements.txt",
|
||||||
|
BIN
releases/whl/online_fxreader_pr34-0.1.4.18-py3-none-any.whl
(Stored with Git LFS)
Normal file
BIN
releases/whl/online_fxreader_pr34-0.1.4.18-py3-none-any.whl
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user