I have three like that. Accommodating until they're not, and then nothing will budge their refusals.
My son got a D+ in AP Calculus in high school because he refused to do the homework. Why? Because on the first day of class the teacher said it was optional. When enough kids didn't do the homework, he changed the rule. My son decided it was unacceptable to change the rules halfway through the semester, and his refusal to do the homework almost cost him his graduation. And despite this, the teacher loved him. We saw the teacher the other day in a store, and he told me my son was a delight in class.
Hang in there - you're in for a lot of fun over the next several years.

I got a C in Algebra II for my first semester for a somewhat similar reason. Homework was not optional, but it was never checked until the end of the semester, at which point the teacher would randomly choose 10 assignments, and you had to produce them from your homework binder, and these ten would be the basis for your homework grade. Since I was still getting As on the tests without doing the homework, I didn't see much value in doing any individual assignment that may or may not be required.
I wasn't so perfectionist that a B in a demanding class was unacceptable, but a C was intolerable. So next semester I managed to scramble to put together enough homework assignments at the last minute that I pulled up my average to a B-. My Trig/Pre-calc class the next year had the same homework policy, and I got Bs in that, too.