Tory Lanez has pled not guilty after being charged with assault in connection to the shooting that left Megan Thee Stallion wounded. TMZ reports:

Tory Lanez's legal team is back in court after he was charged for shooting Megan Thee Stallion, and just entered his plea ... not guilty.

Tory's attorney, Shawn Holley, appeared on his behalf Wednesday in L.A. County court to enter the plea in the case. Tory's yet to go to court himself -- his last appearance was over the phone.

As we've reported ... the L.A. County D.A.'s Office hit him with 1 count of assault with a semiautomatic firearm, and 1 count of carrying a loaded, unregistered firearm in a vehicle. The D.A. also alleges TL inflicted great bodily injury on MTS.

Tory faces up to 22 years and 8 months if convicted.