From 5793f65fe0050d639fcb7f3a2e7e66acbc02058c Mon Sep 17 00:00:00 2001 From: "M. Fatih MAR" Date: Thu, 5 Aug 2021 22:02:09 +0100 Subject: [PATCH] chore: run standards check solution files --- .../Tests/Runtime/NetworkVariableTests.cs | 8 ++++---- standards.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/com.unity.multiplayer.mlapi/Tests/Runtime/NetworkVariableTests.cs b/com.unity.multiplayer.mlapi/Tests/Runtime/NetworkVariableTests.cs index 4b76e5645a..f6f99f447c 100644 --- a/com.unity.multiplayer.mlapi/Tests/Runtime/NetworkVariableTests.cs +++ b/com.unity.multiplayer.mlapi/Tests/Runtime/NetworkVariableTests.cs @@ -31,15 +31,15 @@ public void NetworkSerialize(NetworkSerializer serializer) public class NetworkVariableTest : NetworkBehaviour { public readonly NetworkList TheList = new NetworkList( - new NetworkVariableSettings {WritePermission = NetworkVariablePermission.ServerOnly} + new NetworkVariableSettings { WritePermission = NetworkVariablePermission.ServerOnly } ); public readonly NetworkSet TheSet = new NetworkSet( - new NetworkVariableSettings {WritePermission = NetworkVariablePermission.ServerOnly} + new NetworkVariableSettings { WritePermission = NetworkVariablePermission.ServerOnly } ); public readonly NetworkDictionary TheDictionary = new NetworkDictionary( - new NetworkVariableSettings {WritePermission = NetworkVariablePermission.ServerOnly} + new NetworkVariableSettings { WritePermission = NetworkVariablePermission.ServerOnly } ); private void ListChanged(NetworkListEvent e) @@ -425,7 +425,7 @@ public IEnumerator TestNetworkVariableStruct() () => { m_ServerComp.TheStruct.Value = - new TestStruct() {SomeInt = k_TestUInt, SomeBool = false}; + new TestStruct() { SomeInt = k_TestUInt, SomeBool = false }; m_ServerComp.TheStruct.SetDirty(true); }, () => diff --git a/standards.py b/standards.py index 239ff90d9d..9df243d20e 100755 --- a/standards.py +++ b/standards.py @@ -18,7 +18,7 @@ parser.add_argument("--tool-path", default="dotnet-format") parser.add_argument("--project-path", default="testproject") -parser.add_argument("--project-glob", default="*.csproj") +parser.add_argument("--project-glob", default="*.sln") if len(sys.argv) == 1: parser.print_help(sys.stderr)