Speaker: Syed Jafer K (parottasalna)
About Speaker: Parottasalna.com is my platform for sharing deep insights into backend engineering. From databases and distributed systems to APIs and performance tuning, I break down complex concepts into practical, hands-on guides. Whether you’re a beginner or an experienced developer, you’ll find real-world knowledge to level up your backend skills
@itz_mr_evil Regarding the RUFF session in the last session you had a query on auto fixing tabs with spaces. It can’t be corrected automatically.
Also, to find the below issue (mutable value in default argument) in ruff,
def append_vals(val, arr=[]):
arr.append(val)
return arr
print(append_vals(4))
print(append_vals(5))
print(append_vals(6))
we need to define ruff.toml and it should contain either ALL or B006.
select = ["ALL"]
1 Like