@@ -98,8 +98,8 @@ venv = ".venv"
9898# those private functions instead of testing the private functions directly. It makes it easier to maintain the code source
9999# and refactor code that is not public.
100100executionEnvironments = [
101- { root = " tests" , reportUnusedFunction = false , reportPrivateUsage = false },
102- { root = " examples/servers" , reportUnusedFunction = false },
101+ { root = " tests" , reportUnusedFunction = false , reportPrivateUsage = false },
102+ { root = " examples/servers" , reportUnusedFunction = false },
103103]
104104
105105[tool .ruff ]
@@ -109,17 +109,17 @@ extend-exclude = ["README.md"]
109109
110110[tool .ruff .lint ]
111111select = [
112- " C4" , # flake8-comprehensions
113- " C90" , # mccabe
114- " E" , # pycodestyle
115- " F" , # pyflakes
116- " I" , # isort
117- " PERF" , # Perflint
118- " PL" , # Pylint
119- " UP" , # pyupgrade
112+ " C4" , # flake8-comprehensions
113+ " C90" , # mccabe
114+ " E" , # pycodestyle
115+ " F" , # pyflakes
116+ " I" , # isort
117+ " PERF" , # Perflint
118+ " PL" , # Pylint
119+ " UP" , # pyupgrade
120120]
121121ignore = [" PERF203" , " PLC0415" , " PLR0402" ]
122- mccabe.max-complexity = 24 # Default is 10
122+ mccabe.max-complexity = 24 # Default is 10
123123
124124[tool .ruff .lint .per-file-ignores ]
125125"__init__.py" = [" F401" ]
@@ -128,13 +128,13 @@ mccabe.max-complexity = 24 # Default is 10
128128
129129[tool .ruff .lint .pylint ]
130130allow-magic-value-types = [" bytes" , " float" , " int" , " str" ]
131- max-args = 23 # Default is 5
132- max-branches = 23 # Default is 12
133- max-returns = 13 # Default is 6
134- max-statements = 102 # Default is 50
131+ max-args = 23 # Default is 5
132+ max-branches = 23 # Default is 12
133+ max-returns = 13 # Default is 6
134+ max-statements = 102 # Default is 50
135135
136136[tool .uv .workspace ]
137- members = [" examples/servers/*" , " examples/snippets" ]
137+ members = [" examples/clients/* " , " examples/ servers/*" , " examples/snippets" ]
138138
139139[tool .uv .sources ]
140140mcp = { workspace = true }
@@ -154,16 +154,16 @@ filterwarnings = [
154154 " ignore:websockets.server.WebSocketServerProtocol is deprecated:DeprecationWarning" ,
155155 " ignore:Returning str or bytes.*:DeprecationWarning:mcp.server.lowlevel" ,
156156 # pywin32 internal deprecation warning
157- " ignore:getargs.*The 'u' format is deprecated:DeprecationWarning"
157+ " ignore:getargs.*The 'u' format is deprecated:DeprecationWarning" ,
158158]
159159
160160[tool .markdown .lint ]
161- default = true
162- MD004 = false # ul-style - Unordered list style
163- MD007.indent = 2 # ul-indent - Unordered list indentation
164- MD013 = false # line-length - Line length
165- MD029 = false # ol-prefix - Ordered list item prefix
166- MD033 = false # no-inline-html Inline HTML
167- MD041 = false # first-line-heading/first-line-h1
168- MD046 = false # indented-code-blocks
169- MD059 = false # descriptive-link-text
161+ default = true
162+ MD004 = false # ul-style - Unordered list style
163+ MD007.indent = 2 # ul-indent - Unordered list indentation
164+ MD013 = false # line-length - Line length
165+ MD029 = false # ol-prefix - Ordered list item prefix
166+ MD033 = false # no-inline-html Inline HTML
167+ MD041 = false # first-line-heading/first-line-h1
168+ MD046 = false # indented-code-blocks
169+ MD059 = false # descriptive-link-text
0 commit comments